25 class GeometryContactMergeSplitAlgorithm;
26 class ConstraintMergeSplitAlgorithm;
57 : graphNodeIndex( graphNodeIndex ), force( force ), torque( torque )
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.
#define AGXPHYSICS_EXPORT
AGXCORE_EXPORT const InvalidIndexStruct InvalidIndex
std::function< void(ForceFrame, const agx::RigidBody *)> ContactEdgeStrengthVisitor
Visitor callback where ForceFrame is edge strength in world coordinates and 'otherRb'.
const agx::MergedBody * getMergedBody() const
Structure holding several "normal" rigid bodies.
Vector containing 'raw' data.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
VectorPOD< UInt > UIntVector
agx::Vec3 n
Force in n direction.
agx::Vec3 u
Force in u direction.
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.
agx::Vec3 v
Force in v direction.
Inheritance with partial specialization due to bug with ref_ptr containers.
ForceData(agx::UInt graphNodeIndex, const agx::Vec3 &force, const agx::Vec3 &torque)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...