44 #ifndef __NAV_MESH_OBSTACLE__
45 #define __NAV_MESH_OBSTACLE__
105 #endif // __NAV_MESH_OBSTACLE__
NavMeshObstacle()
Constructor.
Definition: NavMeshObstacle.h:71
The core namespace. All elements of Menge are contained in this namespace.
Definition: AgentGenerator.cpp:43
Contains the Obstacle class.
The navigation mesh adjacency graph node. It corresponds to a convex polygon in the navigation mesh...
Definition: NavMeshNode.h:64
static unsigned int NO_NEIGHBOR_OBST
The index value if the obstacle has no neighboring obstacle.
Definition: NavMeshObstacle.h:66
const NavMeshNode * getNode() const
Retrieve the nav mesh node to which this obstacle is adjacent.
Definition: NavMeshObstacle.h:90
bool loadFromAscii(std::ifstream &f, Vector2 *vertices)
Sets the obstacle properties from an obstacle definition in the given ascii file stream.
Definition: NavMeshObstacle.cpp:66
NavMeshNode * _node
A nav mesh node to which this obstacle is attached. It could be attached to multiple, but this is the node for which it serves as an edge.
Definition: NavMeshObstacle.h:101
Specification of an obstacle. It is the same as a pedModel specification but includes a pointer to a ...
Definition: NavMeshObstacle.h:61
Defines static obstacles in the simulation.
Definition: Obstacle.h:56
The class for defining a navigation mesh. A decomposition of the free space into a connected mesh of ...
Definition: NavMesh.h:120
The namespace that contains the basic simulation mechanisms.
Obstacle()
Constructs a static obstacle instance.
Definition: Obstacle.cpp:52