Quadtree for quick nearest neighbour search of rvo agents.
More...
Quadtree for quick nearest neighbour search of rvo agents.
- See also
- Pathfinding.RVO.Simulator
◆ CalculateSpeeds()
◆ Clear()
Removes all agents from the tree.
◆ DebugDraw()
◆ DebugDrawRec()
void DebugDrawRec |
( |
int |
i, |
|
|
Rect |
r |
|
) |
| |
|
private |
◆ GetNodeIndex()
◆ Insert()
void Insert |
( |
Agent |
agent | ) |
|
Add a new agent to the tree.
- Warning
- Agents must not be added multiple times to the same tree
◆ Query()
void Query |
( |
Vector2 |
p, |
|
|
float |
speed, |
|
|
float |
timeHorizon, |
|
|
float |
agentRadius, |
|
|
Agent |
agent |
|
) |
| |
◆ SetBounds()
◆ bounds
◆ filledNodes
◆ LeafSize
◆ maxRadius
◆ nodes
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Core/RVO/RVOQuadtree.cs