C# Class Pathfinding.RVO.KDTree

Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Méthode Description
BuildAgentTree ( ) : void
BuildObstacleTree ( ) : void
GetAgentNeighbours ( Agent agent, float rangeSq ) : void
GetObstacleNeighbours ( Agent agent, float rangeSq ) : void
KDTree ( Simulator simulator ) : UnityEngine
RebuildAgents ( ) : void

Private Methods

Méthode Description
BuildAgentTreeRecursive ( int start, int end, int node ) : void
BuildObstacleTreeRecursive ( List obstacles ) : ObstacleTreeNode
GetOTN ( ) : ObstacleTreeNode
QueryAgentTreeRecursive ( Agent agent, float &rangeSq, int node ) : void
QueryObstacleTreeRecursive ( Agent agent, float rangeSq, ObstacleTreeNode node ) : void
RecycleOTN ( ObstacleTreeNode node ) : void
Sqr ( float v ) : float
countDepth ( ObstacleTreeNode node ) : int

Method Details

BuildAgentTree() public méthode

public BuildAgentTree ( ) : void
Résultat void

BuildObstacleTree() public méthode

public BuildObstacleTree ( ) : void
Résultat void

GetAgentNeighbours() public méthode

public GetAgentNeighbours ( Agent agent, float rangeSq ) : void
agent Agent
rangeSq float
Résultat void

GetObstacleNeighbours() public méthode

public GetObstacleNeighbours ( Agent agent, float rangeSq ) : void
agent Agent
rangeSq float
Résultat void

KDTree() public méthode

public KDTree ( Simulator simulator ) : UnityEngine
simulator Simulator
Résultat UnityEngine

RebuildAgents() public méthode

public RebuildAgents ( ) : void
Résultat void