AGX Dynamics  2.37.3.2
agxSDK::MergedBodySolverData::ForceData Struct Reference

Object containing force and torque from a graph node. More...

#include <MergedBodySolverData.h>

Public Member Functions

 ForceData ()
 
 ForceData (agx::UInt graphNodeIndex, const agx::Vec3 &force, const agx::Vec3 &torque)
 

Public Attributes

agx::Vec3 force
 Force in world coordinates. More...
 
agx::UInt graphNodeIndex
 Graph node index such that type = postSolveData.getType( graphNodeIndex ). More...
 
agx::Vec3 torque
 Torque in world coordinates. More...
 

Detailed Description

Object containing force and torque from a graph node.

Definition at line 47 of file MergedBodySolverData.h.

Constructor & Destructor Documentation

◆ ForceData() [1/2]

agxSDK::MergedBodySolverData::ForceData::ForceData ( )
inline

Definition at line 49 of file MergedBodySolverData.h.

◆ ForceData() [2/2]

agxSDK::MergedBodySolverData::ForceData::ForceData ( agx::UInt  graphNodeIndex,
const agx::Vec3 &  force,
const agx::Vec3 &  torque 
)
inline

Definition at line 54 of file MergedBodySolverData.h.

Member Data Documentation

◆ force

agx::Vec3 agxSDK::MergedBodySolverData::ForceData::force

Force in world coordinates.

Definition at line 62 of file MergedBodySolverData.h.

◆ graphNodeIndex

agx::UInt agxSDK::MergedBodySolverData::ForceData::graphNodeIndex

Graph node index such that type = postSolveData.getType( graphNodeIndex ).

Definition at line 61 of file MergedBodySolverData.h.

◆ torque

agx::Vec3 agxSDK::MergedBodySolverData::ForceData::torque

Torque in world coordinates.

Definition at line 63 of file MergedBodySolverData.h.


The documentation for this struct was generated from the following file: