AI_NavigationMesh::Vertex Class Reference
#include <AI_NavigationMesh.h>
Detailed Description
Vertex of navigation mesh.Public Member Functions | |
| Vertex () | |
| Default constructor. | |
| const AI_Vector3 & | getCoord (void) const |
| Returns 3D vector with vertex coordinates. | |
| Corner * | getCorner (void) const |
| Returns pointer to corner that refers to this vertex (return NULL if vertex is not a corner). | |
Protected Attributes | |
| AI_Vector3 | m_v_coord |
| 3D coordinates | |
| AI_Vector2 | m_v_coord2d |
| 2D coordinates | |
| Corner * | m_ptr_corner |
| Index of corner that refers to this vertex (INVALID_INDEX if vertex is bot corner). | |
Constructor & Destructor Documentation
| AI_NavigationMesh::Vertex::Vertex | ( | ) | [inline] |
Default constructor.
Member Function Documentation
| const AI_Vector3 & AI_NavigationMesh::Vertex::getCoord | ( | void | ) | const [inline] |
Returns 3D vector with vertex coordinates.
| AI_NavigationMesh::Corner * AI_NavigationMesh::Vertex::getCorner | ( | void | ) | const [inline] |
Returns pointer to corner that refers to this vertex (return NULL if vertex is not a corner).
Member Data Documentation
AI_Vector3 AI_NavigationMesh::Vertex::m_v_coord [protected] |
3D coordinates
AI_Vector2 AI_NavigationMesh::Vertex::m_v_coord2d [protected] |
2D coordinates
Corner* AI_NavigationMesh::Vertex::m_ptr_corner [protected] |
Index of corner that refers to this vertex (INVALID_INDEX if vertex is bot corner).
The documentation for this class was generated from the following file:
