|
AGX Dynamics
2.38.0.2
|
Constraint body data used with GenericElementaryConstraint containing the per body Jacobian data. More...
#include <GenericConstraintData.h>
Public Member Functions | |
| GenericConstraintBodyData () | |
| Construct given number of rows in the elementary constraint. More... | |
| void | addJacobian (UInt row, const Vec3 &spatial, const Vec3 &rotational) |
| Add Jacobian for given row as spatial and rotation vectors. More... | |
| const Vec3Vector & | getJacobian () const |
| void | reset (UInt numRows) |
| Resets all vectors to (0, 0, 0). More... | |
| void | setJacobian (UInt row, const Vec3 &spatial, const Vec3 &rotational) |
| Assign Jacobian for given row as spatial and rotation vectors. More... | |
Constraint body data used with GenericElementaryConstraint containing the per body Jacobian data.
Definition at line 27 of file GenericConstraintData.h.
| agx::GenericConstraintBodyData::GenericConstraintBodyData | ( | ) |
Construct given number of rows in the elementary constraint.
| void agx::GenericConstraintBodyData::addJacobian | ( | UInt | row, |
| const Vec3 & | spatial, | ||
| const Vec3 & | rotational | ||
| ) |
Add Jacobian for given row as spatial and rotation vectors.
| row | - row in the Jacobian |
| spatial | - spatial part of the Jacobian |
| rotational | - rotational part of the Jacobain (ignored if particle) |
| const Vec3Vector& agx::GenericConstraintBodyData::getJacobian | ( | ) | const |
| void agx::GenericConstraintBodyData::reset | ( | UInt | numRows | ) |
Resets all vectors to (0, 0, 0).
| void agx::GenericConstraintBodyData::setJacobian | ( | UInt | row, |
| const Vec3 & | spatial, | ||
| const Vec3 & | rotational | ||
| ) |
Assign Jacobian for given row as spatial and rotation vectors.
| row | - row in the Jacobian |
| spatial | - spatial part of the Jacobian |
| rotational | - rotational part of the Jacobain (ignored if particle) |