Force frame where the resultant force is u + v + n.
Collection of external (active) interactions, interacting with merged rigid bodies.
Object containing force and torque from a graph node.
std::function< void(ForceFrame, const agx::RigidBody *)> ContactEdgeStrengthVisitor
Visitor callback where ForceFrame is edge strength in world coordinates and 'otherRb'.
Structure holding several "normal" rigid bodies.
std::function< agx::Bool(const agx::RigidBody *)> ContactEdgeStrengthVisitorPredicate
Predicate to calculate force frame and visit ContactEdgeStrengthVisitor.
The rigid body class, combining a geometric model and a frame of reference.
agx::Vec3 torque
Torque in world coordinates.
agx::UInt graphNodeIndex
Graph node index such that type = postSolveData.getType( graphNodeIndex ).
agx::Vec3 force
Force in world coordinates.
const agx::MergedBody * getMergedBody() const
ForceData(agx::UInt graphNodeIndex, const agx::Vec3 &force, const agx::Vec3 &torque)