Uses of Class
org.hortonmachine.gears.libs.modules.Direction
-
Packages that use Direction Package Description org.hortonmachine.gears.libs.modules -
-
Uses of Direction in org.hortonmachine.gears.libs.modules
Methods in org.hortonmachine.gears.libs.modules that return Direction Modifier and Type Method Description static DirectionDirection. forFlow(int flowValue)Get theDirectionby its exiting flow.static DirectionDirection. getDir(int col, int row)Get the dir for a particular col/row of the directions schema.static Direction[]Direction. getOrderedDirs()DirectionGridNode. isNeighborOf(GridNode otherNode)Checks if the supplied node is adjacent to the current.DirectionGridNode. isSameValueNeighborOf(GridNode otherNode)Checks if the supplied node is adjacent to the current and has the same value.static DirectionDirection. valueOf(String name)Returns the enum constant of this type with the specified name.static Direction[]Direction. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.hortonmachine.gears.libs.modules with parameters of type Direction Modifier and Type Method Description doubleGridNode. getElevationAt(Direction direction)Get the value of the elevation in one of the surrounding direction.intFlowNode. getFlowAt(Direction direction)Get the value of the flow in one of the surrounding direction.GridNodeGridNode. getNodeAt(Direction direction)Get a neighbor node at a certain direction.
-