AI_NavigationMesh::Vertex Class Reference

#include <AI_NavigationMesh.h>

List of all members.


Detailed Description

Vertex of navigation mesh.

Public Member Functions

 Vertex ()
 Default constructor.
const AI_Vector3getCoord (void) const
 Returns 3D vector with vertex coordinates.
CornergetCorner (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
Cornerm_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

3D coordinates

2D coordinates

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: