|
GeoAPI 1.0 Build 2004-05-18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectCodeList
AxisDirection
Orientation of axis. Some coordinate systems use non-standard orientations. For example, the first axis in South African grids usually points West, instead of East. This information is obviously relevant for algorithms converting South African grid coordinates into Lat/Long.
CS_AxisOrientationEnum
| Field Summary | |
|---|---|
static AxisDirection |
BOTTOM
Increasing ordinates values go bottom, usually on a horizontal plane. |
static AxisDirection |
DOWN
Increasing ordinates values go down, usually on a vertical axe. |
static AxisDirection |
EAST
Increasing ordinates values go East. |
static AxisDirection |
FUTURE
Increasing ordinates values go future. |
static AxisDirection |
LEFT
Increasing ordinates values go left, usually on a horizontal plane. |
static AxisDirection |
NORTH
Increasing ordinates values go North. |
static AxisDirection |
OTHER
Unknown or unspecified axis orientation. |
static AxisDirection |
PAST
Increasing ordinates values go past. |
static AxisDirection |
RIGHT
Increasing ordinates values go right, usually on a horizontal plane. |
static AxisDirection |
SOUTH
Increasing ordinates values go South. |
static AxisDirection |
TOP
Increasing ordinates values go top, usually on a horizontal plane. |
static AxisDirection |
UP
Increasing ordinates values go up, usually on a vertical axe. |
static AxisDirection |
WEST
Increasing ordinates values go West. |
| Constructor Summary | |
|---|---|
AxisDirection(String name)
Constructs an enum with the given name. |
|
| Method Summary | |
|---|---|
AxisDirection |
absolute()
Returns the "absolute" direction of this axis. |
AxisDirection[] |
family()
Returns the list of enumerations of the same kind than this enum. |
AxisDirection |
inverse()
Returns the opposite direction of this axis. |
static AxisDirection[] |
values()
Returns the list of AxisDirections. |
| Methods inherited from class CodeList |
|---|
name, ordinal, readResolve, toString |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final AxisDirection OTHER
CS_AO_OTHER
public static final AxisDirection NORTH
CS_AO_NORTH
public static final AxisDirection SOUTH
CS_AO_SOUTH
public static final AxisDirection EAST
CS_AO_EAST
public static final AxisDirection WEST
CS_AO_WEST
public static final AxisDirection UP
CS_AO_UP
public static final AxisDirection DOWN
CS_AO_DOWN
public static final AxisDirection RIGHT
public static final AxisDirection LEFT
public static final AxisDirection TOP
public static final AxisDirection BOTTOM
public static final AxisDirection FUTURE
public static final AxisDirection PAST
| Constructor Detail |
|---|
public AxisDirection(String name)
values().
name - The enum name. This name must not be in use by an other enum of this type.| Method Detail |
|---|
public static AxisDirection[] values()
AxisDirections.
public AxisDirection[] family()
family in class CodeListpublic AxisDirection inverse()
public AxisDirection absolute()
Math.abs(int)
method in that "negative" directions (SOUTH, WEST,
DOWN, PAST are changed for their "positive" counterparts
(NORTH, EAST, UP, FUTURE)
More specifically, the following conversion table is applied.
| Direction | Absolute value |
|---|---|
| NORTH | NORTH |
| SOUTH | NORTH |
| EAST | EAST |
| WEST | EAST |
| UP | UP |
| DOWN | UP |
| RIGHT | RIGHT |
| LEFT | RIGHT |
| TOP | TOP |
| BOTTOM | TOP |
| FUTURE | FUTURE |
| PAST | FUTURE |
| OTHER | OTHER |
|
GeoAPI 1.0 Build 2004-05-18 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
|
Symbols, terms and definitions | Copyright OpenGIS® Consortium |