VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
collisionDetector.h File Reference

Go to the source code of this file.

Classes

class  DtCollisionProcessor< T_Collision >
 Abstract base class used by DtCollisionDetector as a functor when finding collisions. More...
 
class  DtCollisionDetector
 The DtCollisionDetector is a class used to detect collisions between a specified list of obstructions, by feature type (defined in appdata/settings/featureconfig.txt) and by DtVrfObject obstruction IDs, and a specified Dt3dBoundingVolume. More...
 
class  DtClosestCollisionProcessor< T_Collision >
 Collision processor used by DtCollisionDetector which finds only the closest collision. More...
 
class  DtAllCollisionProcessor< T_Collision >
 DtCollisionProcessor which collects a list of all the processed collisions and returns that. More...
 

Macros

#define callbackList_inl_
 

Functions

bool DtSameOrAttached (const DtVrfObject *primaryEntity, const DtVrfObject &secondaryEntity)
 Determines if the specified secondary entity is part of or attached to the primary entity. More...
 
bool DtWithinDistance (const DtVector &startLocation, const DtVector &endLocation, double offset, double distanceSquared, double &actualDistanceSquared)
 

Macro Definition Documentation

#define callbackList_inl_

Function Documentation

bool DtSameOrAttached ( const DtVrfObject primaryEntity,
const DtVrfObject secondaryEntity 
)

Determines if the specified secondary entity is part of or attached to the primary entity.

bool DtWithinDistance ( const DtVector startLocation,
const DtVector endLocation,
double  offset,
double  distanceSquared,
double actualDistanceSquared 
)
Returns
a boolean signifying whether or not the distance between the start and end locations is within the distance squared + offset.
Parameters
actualDistanceSquaredholds the actual distance squared between the start and end locations, taking into account the offset.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)