CFx SDK Documentation 2024 SP0
|
#include <Gs.h>
Public Member Functions | |
OdGsCollisionDetectionContext () | |
void | setIntersectionOnly (bool bSet) |
bool | intersectionOnly () const |
void | setIntersectionWithModel (bool bSet) |
bool | intersectionWithModel () const |
void | setIgnoreViewExtents (bool bSet) |
bool | ignoreViewExtents () const |
void | setCombineSubEntities (bool bSet) |
bool | combineSubEntities () const |
void | setToleranceOverride (const OdGeTol &tol) |
bool | isToleranceOverride () const |
const OdGeTol & | toleranceOverride () const |
void | setCalculateDistance (bool bSet) |
bool | getCalculateDistance () const |
void | setCheckAll (bool bSet) |
bool | getCheckAll () const |
void | setClearance (double c) |
double | getClearance () const |
void | setProcessSignleList (bool bSet) |
bool | getProcessSignleList () const |
Protected Types | |
enum | Options { kIntersectionOnly = 1 , kIntersectionWithModel = 1 << 1 , kIgnoreViewExtents = 1 << 2 , kCombineSubEntities = 1 << 3 , kOverrideTolerance = 1 << 4 , kCalculateDistance = 1 << 5 , kCheckAll = 1 << 6 , kProcessSingleList = 1 << 7 } |
Protected Attributes | |
OdUInt8 | m_flags |
OdGeTol | m_tolerance |
double | m_clearance |
This class is the context for Collision Detection
<group OdGs_Classes>
|
protected |
|
inline |
Default constructor for the OdGsCollisionDetectionContext class. Sets default tolerance value for geometric operations.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Checks that collision detection should detects collisions between list and all other entities (false) or it should detect collisions between entities in list (true).
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Specifies should collision detection detects collisions between list and all other entities (false) or it should detect collisions between entities in list (true).
bSet | [in] If true, collision detection will detect collisions between entities in list instead of between list and other entities. |
|
inline |