|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectGlobalNavigation.Grid.Cell
public class Grid.Cell
Method Summary | |
---|---|
double |
getCenterX()
Get the x coordinate of the center of this cell. |
double |
getCenterY()
Get the y coordinate of the center of this cell. |
boolean |
hasPathToGoal()
Check whether this cell has a path to the goal. |
java.awt.geom.Point2D.Double |
makeCenterPoint()
Return the center point of this cell. |
java.lang.String |
toString()
Return a human-readable string representation of this cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public double getCenterX()
Get the x coordinate of the center of this cell.
public double getCenterY()
Get the y coordinate of the center of this cell.
public java.awt.geom.Point2D.Double makeCenterPoint()
Return the center point of this cell.
public boolean hasPathToGoal()
Check whether this cell has a path to the goal.
Returns true even if this cell contains the goal (i.e. toGoalNext
is null).
public java.lang.String toString()
Return a human-readable string representation of this cell.
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |