|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Direction group definition.
| Method Summary | |
java.lang.String[] |
getNames()
Retrieve a string representations of all directions. |
java.lang.String[] |
getShortNames()
Retrieve a string short representations of all directions. |
java.util.Iterator |
iterator()
Retrieve an iterator on directions. |
Coordinate |
transform(Coordinate coordinate,
East direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
North direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
NorthEast direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
NorthWest direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
South direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
SouthEast direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
SouthWest direction)
Retrieve the coordinate next to another in a given direction. |
Coordinate |
transform(Coordinate coordinate,
West direction)
Retrieve the coordinate next to another in a given direction. |
| Method Detail |
public java.util.Iterator iterator()
public java.lang.String[] getNames()
public java.lang.String[] getShortNames()
public Coordinate transform(Coordinate coordinate,
West direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
East direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
North direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
NorthEast direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
NorthWest direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
South direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
SouthEast direction)
coordinate - the origindirection - the direction
public Coordinate transform(Coordinate coordinate,
SouthWest direction)
coordinate - the origindirection - the direction
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||