cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh
Interface INavMeshAtom

Package class diagram package INavMeshAtom
All Known Implementing Classes:
NavMeshPolygon, OffMeshPoint

public interface INavMeshAtom

Interface for navmesh atom. It can be either Polygon or off-mesh point is used in pathfinng algorithms as an abstraction of polygon/point

Author:
Jakub

Method Summary
 boolean equals(INavMeshAtom atom)
          Compares atoms if they are the same (same class, same polygon/point)
 List<INavMeshAtom> getNeighbours(NavMesh mesh)
          Gets a list of all neighbousrs of this atom in navmesh.
 

Method Detail

getNeighbours

List<INavMeshAtom> getNeighbours(NavMesh mesh)
Gets a list of all neighbousrs of this atom in navmesh. That includes both polygons and offmesh points.

Returns:

equals

boolean equals(INavMeshAtom atom)
Compares atoms if they are the same (same class, same polygon/point)

Parameters:
atom -
Returns:


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.