CFx SDK Documentation 2024 SP0
|
#include <Gs.h>
Public Types | |
enum | { kNotImplemented = 0x80000000 , kContinue = 0 , kBreak = 1 } |
Public Member Functions | |
virtual OdUInt32 | collisionDetected (const OdGiPathNode *, const OdGiPathNode *) |
virtual OdUInt32 | collisionDetected (const OdGiPathNode *pPathNode1, const OdGiPathNode *pPathNode2, double dDistance) |
This class is the base class for custom classes that receive notification of OdGs Collision Detection events.
<group OdGs_Classes>
|
inlinevirtual |
Notification function called whenever an collision detected.
pPathNode1 | [in] Pointer to the OdGiPathNode object from OdGsView::collide input list |
pPathNode2 | [in] Pointer to the OdGiPathNode object that collides with pathNode1 |
|
inlinevirtual |
Notification function called whenever an collision detected if distance calsulation is specified
pPathNode1 | [in] Pointer to the OdGiPathNode object from OdGsView::collide input list |
pPathNode2 | [in] Pointer to the OdGiPathNode object that collides with pathNode1 |
dDistace | [in] Collision distance. If negative, it is the penetration depth. If positive, it is the clearance. |