|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Direction | |
|---|---|
| util | |
| util.grid | |
| Uses of Direction in util |
|---|
| Methods in util that return Direction | |
|---|---|
Direction |
Direction.clockwise()
|
Direction |
Direction.counterClockwise()
|
static Direction |
Direction.fromString(String str)
Returns the enum representation of a string. |
static Direction |
Direction.random()
Returns a random direction. |
Direction |
Direction.reverse()
|
static Direction |
Direction.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. |
| Uses of Direction in util.grid |
|---|
| Methods in util.grid with parameters of type Direction | |
|---|---|
static int |
PointTools.getBound(Collection<Point> locations,
Direction dir)
Provides the furthest index in a given direction. |
static Point |
PointTools.getQuadPivot(Collection<Point> locations,
Direction orientation)
Provides the central location within a collection of points for standard cartesian rotations. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||