BilateralLagrangianConstraint
BilateralLagrangianConstraint defining an holonomic equality constraint (attachment) Supports GPU-side computations using CUDA
Templates:
Rigid3dVec3d
Target: Sofa.Component.Constraint.Lagrangian.Model
namespace: sofa::component::constraint::lagrangian::model
parents:
PairInteractionConstraint
Data:
| Name | Description | Default value |
|---|---|---|
| name | object name | unnamed |
| printLog | if true, emits extra messages at runtime. | 0 |
| 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). | Undefined |
| listening | if true, handle the events, otherwise ignore the events | 0 |
| 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. | 0 |
| constraintIndex | Constraint index (first index in the right hand term resolution vector) | 0 |
| endTime | The constraint stops acting after the given value. Use a negative value for infinite constraints | -1 |
| 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) | 0.0001 |
| activate | control constraint activation (true by default) | 1 |
| keepOrientationDifference | keep the initial difference in orientation (only for rigids) | 0 |
Links:
| Name | Description |
|---|---|
| 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 |