BilateralLagrangianConstraint

Context: Sofa.Component.Constraint.Lagrangian.Model

BilateralLagrangianConstraint defining an holonomic equality constraint (attachment)

Data:
  • name : object name

  • printLog : if true, emits extra messages at runtime.

  • tags : list of the subsets the objet belongs to

  • bbox : this object bounding box

  • componentState : The state of the component among (Dirty, Valid, Undefined, Loading, Invalid).

  • listening : if true, handle the events, otherwise ignore the events

  • group : ID of the group containing this constraint. This ID is used to specify which constraints are solved by which solver, by specifying in each solver which groups of constraints it should handle.

  • constraintIndex : Constraint index (first index in the right hand term resolution vector)

  • endTime : The constraint stops acting after the given value.

Use a negative value for infinite constraints
  • first_point : index of the constraint on the first model

  • second_point : index of the constraint on the second model

  • rest_vector : Relative position to maintain between attached points (optional)

  • numericalTolerance : a real value specifying the tolerance during the constraint solving. (optional, default=0.0001)

  • activate : control constraint activation (true by default)

  • keepOrientationDifference : keep the initial difference in orientation (only for rigids)

Links:
  • context : Graph Node containing this object (or BaseContext::getDefault() if no graph is used

  • slaves : Sub-objects used internally by this object

  • master : nullptr for regular objects, or master object for which this object is one sub-objects

  • mechanicalStates : List of mechanical states to which this component is associated

  • object1 : First object associated to this component

  • object2 : Second object associated to this component

  • topology1 : link to the first topology container

  • topology2 : link to the second topology container