|
AGX Dynamics
2.35.0.1
|
Constraint body data used with GenericElementaryConstraint containing the per body Jacobian data. More...
#include <GenericConstraintData.h>
Public Member Functions | |
| GenericConstraintBodyData (agx::UInt numRows) | |
| Construct given number of rows in the elementary constraint. More... | |
| const agx::Vec3Vector & | getJacobian () const |
| void | reset () |
| Resets all vectors to (0, 0, 0). More... | |
| void | setJacobian (agx::UInt row, const agx::Vec3 &spatial, const agx::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 107 of file GenericConstraintData.h.
| agx::GenericConstraintBodyData::GenericConstraintBodyData | ( | agx::UInt | numRows | ) |
Construct given number of rows in the elementary constraint.
| numRows | - number of rows in the elementary constraint |
| const agx::Vec3Vector& agx::GenericConstraintBodyData::getJacobian | ( | ) | const |
| void agx::GenericConstraintBodyData::reset | ( | ) |
Resets all vectors to (0, 0, 0).
| void agx::GenericConstraintBodyData::setJacobian | ( | agx::UInt | row, |
| const agx::Vec3 & | spatial, | ||
| const agx::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) |