Kaim::NavHalfEdge Class Reference
#include <navhalfedge.h>
Each instance of NavHalfEdge represents a single edge of a single triangle within the NavMesh.
It is called a "half-edge" because adjacent triangles do not share the edge that forms their border; instead, each triangle maintains its own half-edge to represent its own boundary.
KyUInt32 Kaim::NavHalfEdge::GetBoundaryEdgeIdx |
( |
| ) |
const |
|
inline |
If this edge lies on the border of the NavFloor, this method returns the index of this edge among the boundary edges maintained by its NavFloor.
Only call this method if IsHalfEdgeABoundary(GetHalfEdgeType()) returns true.
CardinalDir Kaim::NavHalfEdge::GetCellBoundaryDir |
( |
| ) |
const |
|
inline |
If this edge lies on the border of the NavCell, this method returns the cardinal direction of the border where it lies in its NavCell.
Only call this method if IsHalfEdgeACellBoundary(GetHalfEdgeType()) returns true.
Returns an element from the NavHalfEdgeType enumeration that indicates the type of border this edge represents.
NavHalfEdgeIdx Kaim::NavHalfEdge::GetNextObstacleHalfEdgeIdx |
( |
| ) |
const |
|
inline |
Returns the index of the starting vertex of the edge.
For internal use. Do not modify.
The documentation for this class was generated from the following file: