CEL

Public API Reference

iCelNavMeshPath Struct Reference

Path between two points which lay in the same Sector. More...

#include <tools/celnavmesh.h>

Inheritance diagram for iCelNavMeshPath:

List of all members.

Public Member Functions

virtual void AddNode (csVector3 node)=0
 Add a new node at the end of the path.
virtual void Current (csVector3 &vector) const =0
 Get current node from the navigation path.
virtual csList
< csSimpleRenderMesh > * 
GetDebugMeshes () const =0
 Render path.
virtual void GetFirst (csVector3 &vector) const =0
 Get first node from the navigation path.
virtual void GetLast (csVector3 &vector) const =0
 Get last node from the navigation path.
virtual int GetNodeCount () const =0
 Get the number of nodes in this path.
virtual iSectorGetSector () const =0
 Get this path's sector.
virtual bool HasNext () const =0
 Check if the navigation mesh has nodes after the current one.
virtual bool HasPrevious () const =0
 Check if the navigation mesh has nodes before the current one.
virtual void InsertNode (int pos, csVector3 node)=0
 Add a new node in position pos.
virtual void Invert ()=0
 Invert the navigation path.
virtual float Length () const =0
 Calculate path length.
virtual void Next (csVector3 &vector)=0
 Get next node from the navigation path.
virtual void Previous (csVector3 &vector)=0
 Get previous node from the navigation path.
virtual void Restart ()=0
 Restart the navigation path.

Detailed Description

Path between two points which lay in the same Sector.

Definition at line 137 of file celnavmesh.h.


Member Function Documentation

virtual void iCelNavMeshPath::AddNode ( csVector3  node  )  [pure virtual]

Add a new node at the end of the path.

virtual void iCelNavMeshPath::Current ( csVector3 vector  )  const [pure virtual]

Get current node from the navigation path.

virtual csList<csSimpleRenderMesh>* iCelNavMeshPath::GetDebugMeshes (  )  const [pure virtual]

Render path.

Remarks:
The user is responsible for freeing the returned pointer.
virtual void iCelNavMeshPath::GetFirst ( csVector3 vector  )  const [pure virtual]

Get first node from the navigation path.

virtual void iCelNavMeshPath::GetLast ( csVector3 vector  )  const [pure virtual]

Get last node from the navigation path.

virtual int iCelNavMeshPath::GetNodeCount (  )  const [pure virtual]

Get the number of nodes in this path.

virtual iSector* iCelNavMeshPath::GetSector (  )  const [pure virtual]

Get this path's sector.

virtual bool iCelNavMeshPath::HasNext (  )  const [pure virtual]

Check if the navigation mesh has nodes after the current one.

virtual bool iCelNavMeshPath::HasPrevious (  )  const [pure virtual]

Check if the navigation mesh has nodes before the current one.

virtual void iCelNavMeshPath::InsertNode ( int  pos,
csVector3  node 
) [pure virtual]

Add a new node in position pos.

virtual void iCelNavMeshPath::Invert (  )  [pure virtual]

Invert the navigation path.

virtual float iCelNavMeshPath::Length (  )  const [pure virtual]

Calculate path length.

virtual void iCelNavMeshPath::Next ( csVector3 vector  )  [pure virtual]

Get next node from the navigation path.

virtual void iCelNavMeshPath::Previous ( csVector3 vector  )  [pure virtual]

Get previous node from the navigation path.

virtual void iCelNavMeshPath::Restart (  )  [pure virtual]

Restart the navigation path.


The documentation for this struct was generated from the following file:

Generated for CEL: Crystal Entity Layer 2.0 by doxygen 1.6.1