|
AGXDynamics
2.31.1.0
|
A contact between two geometries. More...
#include <Contacts.h>
Inheritance diagram for agxCollide::GeometryContact:Public Types | |
| enum | ContactState { NO_CONTACT = 0, IMPACT_STATE = 1, CONTACT_STATE = 2, SEPARATION_STATE = 3 } |
| Specify the state of the contact. More... | |
| typedef GeometryContactData | DataType |
| typedef GeometryContactInstance | InstanceType |
| typedef GeometryContactModel | ModelType |
| typedef ContactPoint | PointType |
Public Member Functions | |
| GeometryContact () | |
| Default constructor. More... | |
| GeometryContact (agx::Physics::GeometryContactPtr contact) | |
| Construct given geometry contact entity data. More... | |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr & | body1 () |
| body1 is the rigid body of geometry1, can be assumed to be a valid rigid body. More... | |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr const & | body1 () const |
| body1 is the rigid body of geometry1, can be assumed to be a valid rigid body. More... | |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr & | body2 () |
| body2 is the rigid body of geometry2, can be NULL. More... | |
| AGXPHYSICS_EXPORT agx::Physics::RigidBodyPtr const & | body2 () const |
| body2 is the rigid body of geometry2, can be NULL. More... | |
| AGXPHYSICS_EXPORT agx::Physics::BroadPhasePairPtr & | broadPhasePair () |
| AGXPHYSICS_EXPORT agx::Physics::BroadPhasePairPtr const & | broadPhasePair () const |
| agx::Index | calculateIndex () const |
| Calculate the index using the indirect id. More... | |
| agx::Vec3f | calculateRelativeVelocity (size_t pointIndex=0) const |
| Calculate the relative velocity in a contact point. More... | |
| void | clear () |
| Clear contact points. More... | |
| AGXPHYSICS_EXPORT agx::UInt32 & | constraintIndex () |
| AGXPHYSICS_EXPORT agx::UInt32 const & | constraintIndex () const |
| AGXPHYSICS_EXPORT agx::UInt32 & | contactZoneIndex () |
| AGXPHYSICS_EXPORT agx::UInt32 const & | contactZoneIndex () const |
| AGXPHYSICS_EXPORT agx::UInt16 & | contactZoneSlot () |
| AGXPHYSICS_EXPORT agx::UInt16 const & | contactZoneSlot () const |
| int | contains (agx::RigidBody *body) const |
| Will return -1 if body does not exist in this GeometryContact, 0 if it is the first (index 0) and 1 if it is the second (index 1). More... | |
| int | contains (agxCollide::Geometry *geometry) const |
| Will return -1 if geometry does not exist in this GeometryContact, 0 if it is the first (index 0) and 1 if it is the second (index 1). More... | |
| agxData::EntityPtr | copy () |
| Create a copy instance in the same storage. More... | |
| agxData::EntityPtr | copy (agxData::EntityStorage *target) |
| Copy instance to another storage. More... | |
| void | copyAttributes (agxData::EntityPtr source) |
| Copy instance attributes to an existing target instance. More... | |
| AGXPHYSICS_EXPORT void *& | customData () |
| AGXPHYSICS_EXPORT void *const & | customData () const |
| template<typename T > | |
| T & | dataSet () |
| template<typename T > | |
| const T & | dataSet () const |
| void | destroy () |
| Remove the entity from the active storage. More... | |
| AGXPHYSICS_EXPORT agx::Bool & | enabled () |
| AGXPHYSICS_EXPORT agx::Bool const & | enabled () const |
| agxCollide::Geometry * | geometry (size_t ith) |
| const agxCollide::Geometry * | geometry (size_t ith) const |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & | geometry1 () |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const & | geometry1 () const |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr & | geometry2 () |
| AGXPHYSICS_EXPORT agx::Physics::GeometryPtr const & | geometry2 () const |
| void * | getCustomData () |
| const void * | getCustomData () const |
| GeometryContactData * | getData () |
| const GeometryContactData * | getData () const |
| agx::Index | getId () const |
| agx::ContactMaterial * | getMaterial () |
| If the contact material for this geometry contact is explicit it can be accessed here. More... | |
| const agx::ContactMaterial * | getMaterial () const |
| If the contact material for this geometry contact is explicit it can be accessed here. More... | |
| const agx::ContactMaterial * | getMaterial (bool) const |
| It's not possible to change parameters in an implicit contact material. More... | |
| agxData::EntityModel * | getModel () |
| const agxData::EntityModel * | getModel () const |
| agxData::EntityStorage * | getStorage () const |
| AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr & | graphNode () |
| AGXPHYSICS_EXPORT agx::Physics::GraphNodePtr const & | graphNode () const |
| agx::UInt32 | hash () const |
| agx::Bool | hasImpactingPoints () const |
| AGXPHYSICS_EXPORT agx::Bool & | hasInternalMaterial () |
| AGXPHYSICS_EXPORT agx::Bool const & | hasInternalMaterial () const |
| AGXPHYSICS_EXPORT agx::Bool & | hasSurfaceVelocity () |
| AGXPHYSICS_EXPORT agx::Bool const & | hasSurfaceVelocity () const |
| AGXPHYSICS_EXPORT agx::Bool & | immediately () |
| AGXPHYSICS_EXPORT agx::Bool const & | immediately () const |
| void | init (agxData::EntityStorage *storage, agx::Index id) |
| Set the target storage and id. More... | |
| AGXPHYSICS_EXPORT GeometryContactInstance | instance () |
| AGXPHYSICS_EXPORT const GeometryContactInstance | instance () const |
| void | invalidate () |
| Invalidate the entity pointer. More... | |
| bool | isEnabled () const |
| bool | isInstanceOf (agxData::EntityModel *model) const |
| bool | isValid () const |
| AGXPHYSICS_EXPORT agx::Physics::ContactMaterialPtr & | material () |
| AGXPHYSICS_EXPORT agx::Physics::ContactMaterialPtr const & | material () const |
| operator bool () const | |
| bool | operator! () const |
| bool | operator!= (const EntityPtr &rhs) const |
| template<typename T > | |
| T & | operator() (const agxData::ScalarAttributeT< T > *attribute) |
| Access the value of a specific attribute. More... | |
| template<typename T > | |
| const T & | operator() (const agxData::ScalarAttributeT< T > *attribute) const |
| template<typename T > | |
| T & | operator() (const agxData::PointerAttributeT< T > *attribute) |
| Pointer attribute. More... | |
| template<typename T > | |
| const T & | operator() (const agxData::PointerAttributeT< T > *attribute) const |
| template<typename T > | |
| agxData::VectorAttributeT< T >::Type & | operator() (const agxData::VectorAttributeT< T > *attribute) |
| Vector attribute. More... | |
| template<typename T > | |
| const agxData::VectorAttributeT< T >::Type & | operator() (const agxData::VectorAttributeT< T > *attribute) const |
| template<typename T > | |
| agxData::HashSetAttributeT< T >::Type & | operator() (const agxData::HashSetAttributeT< T > *attribute) |
| HashSet attribute. More... | |
| template<typename T > | |
| const agxData::HashSetAttributeT< T >::Type & | operator() (const agxData::HashSetAttributeT< T > *attribute) const |
| template<typename T > | |
| agxData::ArrayAttributeT< T >::Type & | operator() (const agxData::ArrayAttributeT< T > *attribute) |
| Array attribute. More... | |
| template<typename T > | |
| const agxData::ArrayAttributeT< T >::Type & | operator() (const agxData::ArrayAttributeT< T > *attribute) const |
| template<typename T > | |
| T & | operator() (const agxData::SharedAttributeT< T > *attribute) |
| Shared attribute. More... | |
| template<typename T > | |
| const T & | operator() (const agxData::SharedAttributeT< T > *attribute) const |
| template<typename T > | |
| ArrayAttributeT< T >::Type & | operator() (const ArrayAttributeT< T > *attribute) |
| template<typename T > | |
| const ArrayAttributeT< T >::Type & | operator() (const ArrayAttributeT< T > *attribute) const |
| template<typename T > | |
| VectorAttributeT< T >::Type & | operator() (const VectorAttributeT< T > *attribute) |
| template<typename T > | |
| const VectorAttributeT< T >::Type & | operator() (const VectorAttributeT< T > *attribute) const |
| template<typename T > | |
| HashSetAttributeT< T >::Type & | operator() (const HashSetAttributeT< T > *attribute) |
| template<typename T > | |
| const HashSetAttributeT< T >::Type & | operator() (const HashSetAttributeT< T > *attribute) const |
| AGXPHYSICS_EXPORT GeometryContactSemantics * | operator-> () |
| AGXPHYSICS_EXPORT const GeometryContactSemantics * | operator-> () const |
| bool | operator< (const EntityPtr &rhs) const |
| bool | operator== (const EntityPtr &rhs) const |
| bool | operator> (const EntityPtr &rhs) const |
| ContactPointVector & | points () |
| const ContactPointVector & | points () const |
| void | print (std::ostream &stream) const |
| void | print () const |
| void | removeContactPoint (ContactPoint &point) |
| remove the specified ContactPoint from the set of contact points. More... | |
| agx::RigidBody * | rigidBody (size_t ith) |
| Returns access to rigid body data. More... | |
| const agx::RigidBody * | rigidBody (size_t ith) const |
| Returns access to rigid body data. More... | |
| void | setCustomData (void *customData) |
| Store custom data for this Contact. More... | |
| void | setEnable (bool flag) |
| Set to false to disable the contact. More... | |
| AGXPHYSICS_EXPORT agx::SolveModel *& | solveModel () |
| AGXPHYSICS_EXPORT agx::SolveModel *const & | solveModel () const |
| agx::UInt8 | state () const |
| void | swapId (EntityPtr &other) |
| Swap id with another instance. More... | |
| void | swapIndex (EntityPtr &other) |
| Swap index with another instance. More... | |
| void | transfer (agxData::EntityStorage *target) |
| Transfer instance to another storage. More... | |
| AGXPHYSICS_EXPORT agx::Bool & | usingPPGS () |
| AGXPHYSICS_EXPORT agx::Bool const & | usingPPGS () const |
| void | verifyIndex () const |
| Check for broken ptr, by verifying that the id is active in the storage. More... | |
Static Public Member Functions | |
| static bool | calculateSurfaceVelocity (const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2, LocalContactPoint &p) |
Calculate the relative velocity in a contact point between geometry1 and geometry2 Put result in p. More... | |
| static bool | calculateSurfaceVelocity (const agxCollide::Geometry *geometry1, const agxCollide::Geometry *geometry2, ContactPoint &p) |
Calculate the relative velocity in a contact point between geometry1 and geometry2 Put result in p. More... | |
| static EntityPtr | createWithIndex (EntityStorage *storage, agx::Index index) |
| static void | TransformToAscii (void *targetBuffer, const void *sourceBuffer, size_t numElements) |
A contact between two geometries.
Definition at line 270 of file Contacts.h.
|
inherited |
Definition at line 228 of file GeometryContactEntity.h.
|
inherited |
Definition at line 229 of file GeometryContactEntity.h.
|
inherited |
Definition at line 227 of file GeometryContactEntity.h.
Definition at line 273 of file Contacts.h.
Specify the state of the contact.
| Enumerator | |
|---|---|
| NO_CONTACT | ! No contact yet |
| IMPACT_STATE | ! First contact |
| CONTACT_STATE | ! Continuous contact |
| SEPARATION_STATE | ! Contact in last time step, now separated |
Definition at line 277 of file Contacts.h.
| agxCollide::GeometryContact::GeometryContact | ( | ) |
Default constructor.
Definition at line 626 of file Contacts.h.
| agxCollide::GeometryContact::GeometryContact | ( | agx::Physics::GeometryContactPtr | contact | ) |
Construct given geometry contact entity data.
| contact | - other geometry (to copy from) |
Definition at line 631 of file Contacts.h.
|
inherited |
body1 is the rigid body of geometry1, can be assumed to be a valid rigid body.
|
inherited |
body1 is the rigid body of geometry1, can be assumed to be a valid rigid body.
|
inherited |
body2 is the rigid body of geometry2, can be NULL.
|
inherited |
body2 is the rigid body of geometry2, can be NULL.
|
inherited |
Referenced by state().
|
inherited |
|
inherited |
Calculate the index using the indirect id.
Definition at line 614 of file EntityStorage.h.
References AGX_FORCE_INLINE, agxAssert, agxAssert1, agxAssertN, and agxData::Attribute::fullName().
Referenced by agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityInstance::EntityInstance(), agxData::EntityPtr::instance(), and agxData::EntityPtr::swapIndex().
| agx::Vec3f agxCollide::GeometryContact::calculateRelativeVelocity | ( | size_t | pointIndex = 0 | ) | const |
Calculate the relative velocity in a contact point.
| pointIndex | - The contact point index in the points array containing all contact points for this pair of geometries. |
Definition at line 669 of file Contacts.h.
References geometry(), agx::RigidBody::getAngularVelocity(), agx::RigidBody::getCmPosition(), agxCollide::Geometry::getRigidBody(), agx::RigidBody::getVelocity(), and points().
|
static |
Calculate the relative velocity in a contact point between geometry1 and geometry2 Put result in p.
Referenced by calculateSurfaceVelocity().
|
inlinestatic |
Calculate the relative velocity in a contact point between geometry1 and geometry2 Put result in p.
Definition at line 687 of file Contacts.h.
References calculateSurfaceVelocity(), agx::Physics::GeometryContactPtr::hasSurfaceVelocity(), agxCollide::LocalContactPoint::point(), agx::Physics::ContactPointPtr::point(), agxCollide::LocalContactPoint::velocity(), and agx::Physics::ContactPointPtr::velocity().
| void agxCollide::GeometryContact::clear | ( | ) |
Clear contact points.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Will return -1 if body does not exist in this GeometryContact, 0 if it is the first (index 0) and 1 if it is the second (index 1).
This index (if > -1) can be used to get the rigid body with a call to rigidBody(idx)
| body | - the rigid body that you want to look for in this geometry contact |
body does not exist in this GeometryContact, 0 if it is the first and 1 if it is the second Definition at line 482 of file Contacts.h.
|
inline |
Will return -1 if geometry does not exist in this GeometryContact, 0 if it is the first (index 0) and 1 if it is the second (index 1).
This index (if > -1) can be used to get the geometry with a call to geometry(idx)
| geometry | - The geometry that you want to look for in this geometry contact |
geometry does not exist in this GeometryContact, 0 if it is the first and 1 if it is the second Definition at line 489 of file Contacts.h.
|
inherited |
Create a copy instance in the same storage.
|
inherited |
Copy instance to another storage.
|
inherited |
Copy instance attributes to an existing target instance.
|
inlinestaticinherited |
Definition at line 791 of file EntityStorage.h.
References agxAssert, and agxData::EntityStorage::indexToId().
Referenced by agx::createCell().
|
inherited |
Referenced by getCustomData(), and setCustomData().
|
inherited |
|
inherited |
Definition at line 604 of file EntityStorage.h.
References agxAssert.
|
inherited |
Definition at line 611 of file EntityStorage.h.
|
inherited |
Remove the entity from the active storage.
|
inherited |
Referenced by isEnabled(), agxCollide::Space::removeContact(), setCustomData(), and setEnable().
|
inherited |
| agxCollide::Geometry * agxCollide::GeometryContact::geometry | ( | size_t | ith | ) |
| ith | - index of geometry, 0 or 1. |
Definition at line 637 of file Contacts.h.
References agxAssert, agx::Physics::GeometryContactPtr::geometry1(), agx::Physics::GeometryContactPtr::geometry2(), and agx::Physics::GeometryPtr::model().
Referenced by calculateRelativeVelocity(), geometry(), agxModel::GeometryContactInfo::GeometryContactInfo(), agxSDK::ExecuteFilter::match(), and rigidBody().
| const agxCollide::Geometry * agxCollide::GeometryContact::geometry | ( | size_t | ith | ) | const |
| ith | - index of geometry, 0 or 1. |
Definition at line 646 of file Contacts.h.
References AGX_FORCE_INLINE, agxAssert, geometry(), agx::Physics::GeometryContactPtr::geometry1(), agx::Physics::GeometryContactPtr::geometry2(), agxCollide::Geometry::getEntity(), and agx::Physics::GeometryPtr::model().
|
inherited |
Referenced by geometry().
|
inherited |
|
inherited |
Referenced by geometry().
|
inherited |
| void * agxCollide::GeometryContact::getCustomData | ( | ) |
Definition at line 720 of file Contacts.h.
References agx::Physics::GeometryContactPtr::customData().
| const void * agxCollide::GeometryContact::getCustomData | ( | ) | const |
Definition at line 725 of file Contacts.h.
References agx::Physics::GeometryContactPtr::customData().
|
inherited |
|
inherited |
|
inherited |
Definition at line 273 of file EntityPtr.h.
Referenced by agxCollide::CollisionGroupManager::canSetsCollide(), agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityStorage::destroyInstance(), agxData::EntityPtr::operator!=(), agxData::EntityPtr::operator<(), agxData::EntityPtr::operator==(), and agxData::EntityPtr::operator>().
| agx::ContactMaterial * agxCollide::GeometryContact::getMaterial | ( | ) |
If the contact material for this geometry contact is explicit it can be accessed here.
If the contact material in this geometry contact is implicit, this method will return 0, and you have to create an explicit contact material with help of agxSDK::MaterialManager::getOrCreateContactMaterial.
Definition at line 758 of file Contacts.h.
References agx::Physics::ContactPtr::material(), and agx::Physics::ContactMaterialPtr::model().
| const agx::ContactMaterial * agxCollide::GeometryContact::getMaterial | ( | ) | const |
If the contact material for this geometry contact is explicit it can be accessed here.
If the contact material in this geometry contact is implicit, this method will return 0, and you have to create an explicit contact material with help of agxSDK::MaterialManager::getOrCreateContactMaterial.
Definition at line 765 of file Contacts.h.
References agx::Physics::ContactPtr::material(), and agx::Physics::ContactMaterialPtr::model().
| const agx::ContactMaterial * agxCollide::GeometryContact::getMaterial | ( | bool | ) | const |
It's not possible to change parameters in an implicit contact material.
This method returns any type of contact material but const. It's recommended to use the getMaterial() method, this method is used internally.
Definition at line 772 of file Contacts.h.
References AGX_FORCE_INLINE, agxAssert, agx::Physics::GeometryContactPtr::hasInternalMaterial(), agx::Physics::GeometryContactPtr::hasSurfaceVelocity(), agx::Physics::ContactPtr::material(), and agx::Physics::ContactMaterialPtr::model().
|
inherited |
Definition at line 758 of file EntityStorage.h.
|
inherited |
Definition at line 763 of file EntityStorage.h.
|
inherited |
Definition at line 272 of file EntityPtr.h.
Referenced by agxCollide::CollisionGroupManager::canSetsCollide(), agxData::EntityStorage::dereferenceMultipliedAttribute(), agxData::EntityPtr::operator!=(), and agxData::EntityPtr::operator==().
|
inherited |
|
inherited |
|
inherited |
Definition at line 281 of file EntityPtr.h.
References agx::hash().
| agx::Bool agxCollide::GeometryContact::hasImpactingPoints | ( | ) | const |
|
inherited |
Referenced by getMaterial().
|
inherited |
|
inherited |
Referenced by calculateSurfaceVelocity(), and getMaterial().
|
inherited |
|
inherited |
Referenced by isEnabled(), and setCustomData().
|
inherited |
|
inherited |
Set the target storage and id.
Definition at line 589 of file EntityStorage.h.
Referenced by agxData::EntityPtr::EntityPtr().
|
inherited |
|
inherited |
|
inherited |
Invalidate the entity pointer.
Definition at line 275 of file EntityPtr.h.
References agx::InvalidIndex.
| bool agxCollide::GeometryContact::isEnabled | ( | ) | const |
Definition at line 747 of file Contacts.h.
References AGX_FORCE_INLINE, agx::Physics::GeometryContactPtr::enabled(), and agx::Physics::GeometryContactPtr::immediately().
|
inherited |
Definition at line 785 of file EntityStorage.h.
|
inherited |
Definition at line 287 of file EntityPtr.h.
Referenced by agxData::EntityPtr::operator bool(), and agxData::EntityPtr::operator!().
|
inherited |
Referenced by getMaterial().
|
inherited |
|
inherited |
Definition at line 289 of file EntityPtr.h.
References agxData::EntityPtr::isValid().
|
inherited |
Definition at line 288 of file EntityPtr.h.
References agxData::EntityPtr::isValid().
|
inherited |
Definition at line 306 of file EntityPtr.h.
References agxData::EntityPtr::getId(), and agxData::EntityPtr::getStorage().
|
inherited |
Access the value of a specific attribute.
Definition at line 642 of file EntityStorage.h.
|
inherited |
Definition at line 648 of file EntityStorage.h.
|
inherited |
Pointer attribute.
Definition at line 654 of file EntityStorage.h.
|
inherited |
Definition at line 660 of file EntityStorage.h.
|
inherited |
Vector attribute.
|
inherited |
|
inherited |
HashSet attribute.
|
inherited |
|
inherited |
Array attribute.
|
inherited |
|
inherited |
Shared attribute.
Definition at line 744 of file EntityStorage.h.
References agxAssert, agxData::Value::get(), and agx::Object::getName().
|
inherited |
Definition at line 752 of file EntityStorage.h.
|
inherited |
Definition at line 667 of file EntityStorage.h.
|
inherited |
Definition at line 673 of file EntityStorage.h.
|
inherited |
Definition at line 681 of file EntityStorage.h.
|
inherited |
Definition at line 687 of file EntityStorage.h.
|
inherited |
Definition at line 693 of file EntityStorage.h.
|
inherited |
Definition at line 699 of file EntityStorage.h.
|
inherited |
|
inherited |
|
inherited |
Definition at line 291 of file EntityPtr.h.
References agxData::EntityPtr::getId().
|
inherited |
Definition at line 301 of file EntityPtr.h.
References agxData::EntityPtr::getId(), and agxData::EntityPtr::getStorage().
|
inherited |
Definition at line 296 of file EntityPtr.h.
References agxData::EntityPtr::getId().
| ContactPointVector & agxCollide::GeometryContact::points | ( | ) |
Definition at line 710 of file Contacts.h.
References agx::Physics::GeometryContactPtr::points().
Referenced by calculateRelativeVelocity().
| const ContactPointVector & agxCollide::GeometryContact::points | ( | ) | const |
Definition at line 715 of file Contacts.h.
References agx::Physics::GeometryContactPtr::points().
|
inherited |
|
inherited |
| void agxCollide::GeometryContact::removeContactPoint | ( | ContactPoint & | point | ) |
remove the specified ContactPoint from the set of contact points.
| agx::RigidBody * agxCollide::GeometryContact::rigidBody | ( | size_t | ith | ) |
Returns access to rigid body data.
| ith | - index of RigidBody, 0 or 1. |
Definition at line 697 of file Contacts.h.
References agxAssert, geometry(), and agxCollide::Geometry::getRigidBody().
| const agx::RigidBody * agxCollide::GeometryContact::rigidBody | ( | size_t | ith | ) | const |
Returns access to rigid body data.
| ith | - index of RigidBody, 0 or 1. |
Definition at line 703 of file Contacts.h.
References agxAssert, geometry(), and agxCollide::Geometry::getRigidBody().
Store custom data for this Contact.
| customData | - data to be stored |
Definition at line 730 of file Contacts.h.
References AGX_FORCE_INLINE, agx::Physics::GeometryContactPtr::customData(), agx::Physics::GeometryContactPtr::enabled(), and agx::Physics::GeometryContactPtr::immediately().
| void agxCollide::GeometryContact::setEnable | ( | bool | flag | ) |
Set to false to disable the contact.
Definition at line 742 of file Contacts.h.
References agx::Physics::GeometryContactPtr::enabled().
|
inherited |
|
inherited |
| agx::UInt8 agxCollide::GeometryContact::state | ( | ) | const |
Definition at line 800 of file Contacts.h.
References AGX_FORCE_INLINE, agxAssert, agx::Physics::GeometryContactPtr::broadPhasePair(), NO_CONTACT, and agx::Physics::BroadPhasePairPtr::state().
Swap id with another instance.
Both must be part of the same storage.
Definition at line 768 of file EntityStorage.h.
References agxAssert.
Swap index with another instance.
Both must be part of the same storage.
Definition at line 776 of file EntityStorage.h.
References agxAssert, and agxData::EntityPtr::calculateIndex().
|
inherited |
Transfer instance to another storage.
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |
Check for broken ptr, by verifying that the id is active in the storage.
Only used in debug mode.
Definition at line 632 of file EntityStorage.h.
References agxAssertN.