atavism.server.pathing
Class PathInfo
java.lang.Object
atavism.server.pathing.PathInfo
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class PathInfo
- 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
Method Summary |
java.lang.Object |
clone()
|
protected AOVector |
getCenterOfPolygon(java.lang.String type,
java.lang.String modelName,
int polygonIndex)
|
java.util.Map<java.lang.String,PathData> |
getPathDictionary()
|
java.util.Map<java.lang.String,PathObjectType> |
getTypeDictionary()
|
float |
getTypeHalfWidth(java.lang.String type)
|
boolean |
pathObjectTypeSupported(java.lang.String type)
|
void |
performPathingTest(Geometry geometry)
|
protected void |
performPathingTest1(Geometry geometry)
|
protected void |
performPathingTest2(Geometry geometry)
|
protected void |
performPathingTest3(Geometry geometry)
|
protected void |
performPathingTest4(Geometry geometry)
|
protected PathFinderValue |
performSearch(java.lang.String type,
Geometry geometry,
AOVector loc1,
AOVector loc2)
|
void |
setPathDictionary(java.util.Map<java.lang.String,PathData> pathDictionary)
|
void |
setTypeDictionary(java.util.Map<java.lang.String,PathObjectType> typeDictionary)
|
protected void |
showTestResult(PathFinderValue value,
AOVector loc1,
AOVector loc2)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
PathInfo
public PathInfo(java.util.Map<java.lang.String,PathObjectType> typeDictionary,
java.util.Map<java.lang.String,PathData> pathDictionary)
PathInfo
public PathInfo()
performPathingTest
public void performPathingTest(Geometry geometry)
performPathingTest1
protected void performPathingTest1(Geometry geometry)
performPathingTest2
protected void performPathingTest2(Geometry geometry)
performPathingTest3
protected void performPathingTest3(Geometry geometry)
performPathingTest4
protected void performPathingTest4(Geometry geometry)
getCenterOfPolygon
protected AOVector getCenterOfPolygon(java.lang.String type,
java.lang.String modelName,
int polygonIndex)
performSearch
protected PathFinderValue performSearch(java.lang.String type,
Geometry geometry,
AOVector loc1,
AOVector loc2)
showTestResult
protected void showTestResult(PathFinderValue value,
AOVector loc1,
AOVector loc2)
getTypeHalfWidth
public float getTypeHalfWidth(java.lang.String type)
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
pathObjectTypeSupported
public boolean pathObjectTypeSupported(java.lang.String type)
setTypeDictionary
public void setTypeDictionary(java.util.Map<java.lang.String,PathObjectType> typeDictionary)
getTypeDictionary
public java.util.Map<java.lang.String,PathObjectType> getTypeDictionary()
setPathDictionary
public void setPathDictionary(java.util.Map<java.lang.String,PathData> pathDictionary)
getPathDictionary
public java.util.Map<java.lang.String,PathData> getPathDictionary()