cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh
Class OffMeshPoint
java.lang.Object
cz.cuni.amis.pogamut.ut2004.agent.navigation.navmesh.OffMeshPoint
- All Implemented Interfaces:
- ILocated, INavMeshAtom, Serializable
public class OffMeshPoint
- extends Object
- implements ILocated, INavMeshAtom, Serializable
CLass representing a navpoint which is a part of an off mesh connection in navMesh
Contains mainly the real navpoint and then some more information , like polygon and connections to others
- Author:
- Jakub Tomek
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OffMeshPoint
public OffMeshPoint(NavPoint navpoint,
int pId)
getNavPointId
public UnrealId getNavPointId()
getPId
public int getPId()
getOutgoingEdges
public ArrayList<OffMeshEdge> getOutgoingEdges()
getIncomingEdges
public ArrayList<OffMeshEdge> getIncomingEdges()
getLocation
public Location getLocation()
- Specified by:
getLocation in interface ILocated
getNeighbours
public List<INavMeshAtom> getNeighbours(NavMesh mesh)
- Gets a list of all neighbousrs of this atom in navmesh. That includes both polygons and offmesh points.
- Specified by:
getNeighbours in interface INavMeshAtom
- Returns:
equals
public boolean equals(INavMeshAtom atom)
- Compares atoms if they are the same (same class, same polygon/point)
- Specified by:
equals in interface INavMeshAtom
- Parameters:
atom -
- Returns:
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.