Atoms Crowd  7.0.0
Atoms::RVO2::KdTreeObstacle Class Reference

Public Member Functions

void buildObstacleTree (std::vector< Obstacle * > &simObstacles)
 
ObstacleTreeNodebuildObstacleTreeRecursive (std::vector< Obstacle * > &simObstacles, const std::vector< Obstacle * > &copyObstacles)
 
void deleteObstacleTree (ObstacleTreeNode *node)
 
void clear ()
 
void queryObstacleTreeRecursive (const AtomsMath::Vector3f &agentPosition, float rangeSq, float heightRange, const ObstacleTreeNode *node, std::vector< std::pair< float, const Obstacle * >> &obstacleNeighbors) const
 
void insertObstacleNeighbor (const Obstacle *obstacle, const AtomsMath::Vector3f &agentPosition, float rangeSq, float heightRange, std::vector< std::pair< float, const Obstacle * >> &obstacleNeighbors) const
 
ObstacleTreeNodetree ()
 

Public Attributes

ObstacleTreeNodeobstacleTree_
 

Static Public Attributes

static const size_t MAX_LEAF_SIZE = 10
 

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