atavism.server.pathing
Class PathEdge
java.lang.Object
atavism.server.pathing.PathEdge
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class PathEdge
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
used in pathing code
works with java bean xml serialization
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static final Logger log
logAll
protected static boolean logAll
PathEdge
public PathEdge()
PathEdge
public PathEdge(AOVector start,
AOVector end)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getStart
public AOVector getStart()
getEnd
public AOVector getEnd()
getMidpoint
public AOVector getMidpoint()
bestPoint
public AOVector bestPoint(AOVector loc1,
AOVector loc2,
float offset)
getNearAndFarNormalPoints
public java.util.List<AOVector> getNearAndFarNormalPoints(AOVector loc1,
AOVector loc2,
float offset)