AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agx::MergedBody::MergedBodyIndex Struct Reference

Object with index of merged body and the original index of a merged object. More...

#include <MergedBody.h>

Public Member Functions

 MergedBodyIndex ()
 Default constructor initializes both indices to Invalid Index. More...
 
 MergedBodyIndex (agx::Physics::RigidBodyPtr rb, agx::Physics::RigidBodyPtr orgRb)
 Construct given object associated to index, and an original object associated to originalIndex. More...
 
agx::Bool isMerged () const
 

Public Attributes

UInt index
 
UInt originalIndex
 

Detailed Description

Object with index of merged body and the original index of a merged object.

Definition at line 80 of file MergedBody.h.

Constructor & Destructor Documentation

agx::MergedBody::MergedBodyIndex::MergedBodyIndex ( )
inline

Default constructor initializes both indices to Invalid Index.

Definition at line 85 of file MergedBody.h.

agx::MergedBody::MergedBodyIndex::MergedBodyIndex ( agx::Physics::RigidBodyPtr  rb,
agx::Physics::RigidBodyPtr  orgRb 
)
inline

Construct given object associated to index, and an original object associated to originalIndex.

Definition at line 91 of file MergedBody.h.

Member Function Documentation

agx::Bool agx::MergedBody::MergedBodyIndex::isMerged ( ) const
inline
Returns
true if index != originalIndex, i.e., object considered merged

Definition at line 97 of file MergedBody.h.

References agx::InvalidIndex.

Member Data Documentation

UInt agx::MergedBody::MergedBodyIndex::index

Definition at line 99 of file MergedBody.h.

UInt agx::MergedBody::MergedBodyIndex::originalIndex

Definition at line 100 of file MergedBody.h.


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