Class AStar.Path
java.lang.Object
com.inductiveautomation.ignition.designer.blockandconnector.routing.AStar.Path
- All Implemented Interfaces:
Comparable<AStar<T>.Path>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
point
-
f
-
g
-
parent
-
-
Constructor Details
-
Path
public Path()Default c'tor. -
Path
C'tor by copy another object.- Parameters:
p
- The path object to clone.
-
-
Method Details
-
compareTo
Compare to another object using the total cost f.- Specified by:
compareTo
in interfaceComparable<AStar<T>.Path>
- Parameters:
p
- The object to compare to.- Returns:
less than 0
This object is smaller than0
;0
Object are the same.bigger than 0
This object is bigger than p.- See Also:
-
getPoint
Get the last point on the path.- Returns:
- The last point visited by the path.
-
setPoint
Set the
-