46 return model_.v(bodyID_,
p);
label bodyID_
ID of the body the restraint is applied to.
point bodyPoint(const point &p) const
Transform the given point on the restrained body to the global frame.
spatialVector bodyPointVelocity(const point &p) const
Transform the velocity of the given point on the restrained body.
const rigidBodyModel & model_
Reference to the model.
SpatialVector< scalar > spatialVector
SpatialVector of scalars.
vector point
Point is a vector.
static constexpr const zero Zero
Global zero (0).