Kaim::NavFloorBlob Class Reference
#include <navfloorblob.h>
The NavFloorBlob contains a connected and not overlapping part of triangle mesh static data within a NavCellBlob.
NavTriangles are implicitly defined by three consecutive NavHalfEdge in m_navHalfEdges, there is no explicit NavTriangle class.
A NavTag is associated to each NavTriangle
Retrieves the obstacle type of the specified triangle edge.
Retrieves the type of the specified triangle edge.
Retrieves the triangle edge with the specified index within this NavFloorBlob.
const NavTag & Kaim::NavFloorBlob::GetNavTag |
( |
NavTriangleIdx |
navTriangleIdx | ) |
const |
|
inline |
Retrieves the NavTag associated to this triangle.
Retrieves the vertex with the specified index within this NavFloorBlob.
Retrieves the altitude of the vertex with the specified index within this NavFloorBlob.
bool Kaim::NavFloorBlob::IsPointInsideFloor |
( |
const CoordPos64 & |
coordPos64, |
|
|
const CoordPos64 & |
cellOrigin |
|
) |
| const |
|
inline |
Indicates whether or not the specified position lies inside the bounding box of the NavFloorBlob on the (X,Y) plane. For internal use.
bool Kaim::NavFloorBlob::IsPointInsideFloor |
( |
const CoordPos & |
coordPosInCell | ) |
const |
|
inline |
Indicates whether or not the specified position lies inside the bounding box of the NavFloorBlob on the (X,Y) plane. For internal use.
performs some basic tests on static data. For internal debug purpose.
bool Kaim::NavFloorBlob::IsValid |
( |
| ) |
const |
performs some basic tests on static data. For internal debug purpose.
Retrieves the vertex at the end of the specified triangle edge.
Retrieves the index of the vertex at the end of the specified triangle edge.
Retrieves the first NavHalfEdgeIdx of NavTriangle thet contains the edge specified by the input NavHalfEdgeIdx.
Retrieves the index of the specified edge within its triangle.
- Returns
- 0, 1 or 2.
Retrieves the edge that follows the specified triangle edge within its triangle.
Retrieves the triangle NavHalfEdgeIdx that follows the edge specified the input NavHalfEdgeIdx within its triangle.
Retrieves the triangle edge that is adjacent to the specified triangle edge, if any.
Retrieves the index of the triangle edge that is adjacent to the specified triangle edge, if any.
Retrieves the edge that precedes the specified triangle edge within its triangle.
Retrieves the triangle NavHalfEdgeIdx that precedes the edge specified the input NavHalfEdgeIdx within its triangle.
Retrieves the vertex at the start of the specified triangle edge.
Retrieves the index of the vertex at the start of the specified triangle edge.
Retrieves the vertex in the triangle that is not connected to the specified triangle edge.
Retrieves the index of the vertex in the triangle that is not connected to the specified triangle edge.
Retrieves the index of the triangle that contains the edge specified the input NavHalfEdgeIdx.
Retrieves the first NavHalfEdgeIdx of NavTriangle specified by the input NavTriangleIdx.
Retrieves the index of the NavConnex associated to the triangle specified by the input NavTriangleIdx.
Retrieves one edge from the specified triangle.
- Parameters
-
idx | The index of the triangle whose edge is to be retrieved. |
halfEdgeNumber | The index of the edge to retrieve within the triangle. May be 0, 1 or 2. |
Retrieves one edge from the specified triangle.
- Parameters
-
idx | The index of the triangle whose edge is to be retrieved. |
halfEdgeNumber | The index of the edge to retrieve within the triangle. May be 0, 1 or 2. |
Retrieves one vertex from the specified triangle.
- Parameters
-
idx | The index of the triangle whose edge is to be retrieved. |
vertexNumber | The index of the vertex to retrieve within the triangle. May be 0, 1 or 2. |
Retrieves the indices of the vertices that make up the specified triangle.
- Parameters
-
| triangleIdx | The index of the triangle whose vertices are to be retrieved. |
[out] | v0Idx | The index of the first vertex in the triangle. |
[out] | v1Idx | The index of the second vertex in the triangle. |
[out] | v2Idx | The index of the third vertex in the triangle. |
Retrieves the index of one vertex from the specified triangle.
- Parameters
-
idx | The index of the triangle whose edge is to be retrieved. |
vertexNumber | The index of the vertex to retrieve within the triangle. May be 0, 1 or 2. |
The range of altitude the vertices of this NavFloor are within.
BlobArray<NavTag> Kaim::NavFloorBlob::m_connexNavTag |
The array of NavTag associated to each NavConnex. GetCount() == GetConnexCount(). Do not modify.
An axis-oriented bounding box that stores the extents of this NavFloorBlob.
The array of triangle edges maintained by the NavFloorBlob. GetCount() == GetHalfEdgeCount(). Do not modify.
The array of triangle vertices maintained by the NavFloorBlob. GetCount() == GetVertexCount(). Do not modify.
The array of triangle vertices altitude maintained by the NavFloorBlob. GetCount() == GetVertexCount(). Do not modify.
BlobArray<CompactNavConnexIdx> Kaim::NavFloorBlob::m_triangleConnexIndices |
The array of CompactNavConnexIdx associated to each triangle. GetCount() == GetTriangleCount(). Do not modify.
The documentation for this class was generated from the following files: