@UML(identifier="CS_AxisDirection", specification=ISO_19111) public final class AxisDirection extends CodeList<AxisDirection>
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.
Modifier and Type | Field and Description |
---|---|
static AxisDirection |
COLUMN_NEGATIVE
Axis positive direction is towards lower pixel column.
|
static AxisDirection |
COLUMN_POSITIVE
Axis positive direction is towards higher pixel column.
|
static AxisDirection |
DISPLAY_DOWN
Axis positive direction is towards bottom of approximately vertical display surface.
|
static AxisDirection |
DISPLAY_LEFT
Axis positive direction is left in display.
|
static AxisDirection |
DISPLAY_RIGHT
Axis positive direction is right in display.
|
static AxisDirection |
DISPLAY_UP
Axis positive direction is towards top of approximately vertical display surface.
|
static AxisDirection |
DOWN
Axis positive direction is down relative to gravity.
|
static AxisDirection |
EAST
Axis positive direction is π/2 radians clockwise from north.
|
static AxisDirection |
EAST_NORTH_EAST
Axis positive direction is approximately east-north-east.
|
static AxisDirection |
EAST_SOUTH_EAST
Axis positive direction is approximately east-south-east.
|
static AxisDirection |
FUTURE
Axis positive direction is towards the future.
|
static AxisDirection |
GEOCENTRIC_X
Axis positive direction is in the equatorial plane from the centre of the modelled earth
towards the intersection of the equator with the prime meridian.
|
static AxisDirection |
GEOCENTRIC_Y
Axis positive direction is in the equatorial plane from the centre of the modelled earth
towards the intersection of the equator and the meridian π/2 radians eastwards from the
prime meridian.
|
static AxisDirection |
GEOCENTRIC_Z
Axis positive direction is from the centre of the modelled earth parallel to its rotation
axis and towards its north pole.
|
static AxisDirection |
NORTH
Axis positive direction is north.
|
static AxisDirection |
NORTH_EAST
Axis positive direction is approximately north-east.
|
static AxisDirection |
NORTH_NORTH_EAST
Axis positive direction is approximately north-north-east.
|
static AxisDirection |
NORTH_NORTH_WEST
Axis positive direction is approximately north-north-west.
|
static AxisDirection |
NORTH_WEST
Axis positive direction is approximately north-west.
|
static AxisDirection |
OTHER
Unknown or unspecified axis orientation.
|
static AxisDirection |
PAST
Axis positive direction is towards the past.
|
static AxisDirection |
ROW_NEGATIVE
Axis positive direction is towards lower pixel row.
|
static AxisDirection |
ROW_POSITIVE
Axis positive direction is towards higher pixel row.
|
static AxisDirection |
SOUTH
Axis positive direction is π radians clockwise from north.
|
static AxisDirection |
SOUTH_EAST
Axis positive direction is approximately south-east.
|
static AxisDirection |
SOUTH_SOUTH_EAST
Axis positive direction is approximately south-south-east.
|
static AxisDirection |
SOUTH_SOUTH_WEST
Axis positive direction is approximately south-south-west.
|
static AxisDirection |
SOUTH_WEST
Axis positive direction is approximately south-west.
|
static AxisDirection |
UP
Axis positive direction is up relative to gravity.
|
static AxisDirection |
WEST
Axis positive direction is 3π/2 radians clockwise from north.
|
static AxisDirection |
WEST_NORTH_WEST
Axis positive direction is approximately west-north-west.
|
static AxisDirection |
WEST_SOUTH_WEST
Axis positive direction is approximately west-south-west.
|
Modifier and Type | Method and Description |
---|---|
AxisDirection |
absolute()
Returns the "absolute" direction of this axis.
|
AxisDirection[] |
family()
Returns the list of enumerations of the same kind than this enum.
|
AxisDirection |
opposite()
Returns the opposite direction of this axis.
|
static AxisDirection |
valueOf(String code)
Returns the axis direction that matches the given string, or returns a new one if none match
it.
|
static AxisDirection[] |
values()
Returns the list of
AxisDirection s. |
compareTo, equals, identifier, matches, name, ordinal, readResolve, toString, valueOf
@UML(identifier="CS_AxisOrientationEnum.CS_AO_Other", specification=OGC_01009) public static final AxisDirection OTHER
@UML(identifier="north", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection NORTH
@UML(identifier="northNorthEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection NORTH_NORTH_EAST
@UML(identifier="northEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection NORTH_EAST
@UML(identifier="eastNorthEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection EAST_NORTH_EAST
@UML(identifier="east", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection EAST
@UML(identifier="eastSouthEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection EAST_SOUTH_EAST
@UML(identifier="southEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection SOUTH_EAST
@UML(identifier="southSouthEast", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection SOUTH_SOUTH_EAST
@UML(identifier="south", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection SOUTH
@UML(identifier="southSouthWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection SOUTH_SOUTH_WEST
@UML(identifier="southWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection SOUTH_WEST
@UML(identifier="westSouthWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection WEST_SOUTH_WEST
@UML(identifier="west", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection WEST
@UML(identifier="westNorthWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection WEST_NORTH_WEST
@UML(identifier="northWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection NORTH_WEST
@UML(identifier="northNorthWest", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection NORTH_NORTH_WEST
@UML(identifier="up", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection UP
@UML(identifier="down", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection DOWN
@UML(identifier="geocentricX", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection GEOCENTRIC_X
@UML(identifier="geocentricY", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection GEOCENTRIC_Y
@UML(identifier="geocentricZ", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection GEOCENTRIC_Z
@UML(identifier="future", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection FUTURE
@UML(identifier="past", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection PAST
@UML(identifier="columnPositive", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection COLUMN_POSITIVE
@UML(identifier="columnNegative", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection COLUMN_NEGATIVE
@UML(identifier="rowPositive", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection ROW_POSITIVE
@UML(identifier="rowNegative", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection ROW_NEGATIVE
@UML(identifier="displayRight", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection DISPLAY_RIGHT
@UML(identifier="displayLeft", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection DISPLAY_LEFT
@UML(identifier="displayUp", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection DISPLAY_UP
@UML(identifier="displayDown", obligation=CONDITIONAL, specification=ISO_19111) public static final AxisDirection DISPLAY_DOWN
public static AxisDirection[] values()
AxisDirection
s.public AxisDirection[] family()
family
in class CodeList<AxisDirection>
@Extension public AxisDirection opposite()
null
.null
if none or unknown.@Extension public AxisDirection absolute()
Math.abs(int)
method in that "negative" directions like (SOUTH
, WEST
, DOWN
, PAST
) are changed for their "positive" counterparts (NORTH
, EAST
, UP
, FUTURE
). More specifically, the following
conversion table is applied:
|
| ||||||||||||||||||||||||||||
OTHER | OTHER |
public static AxisDirection valueOf(String code)
code
- The name of the code to fetch or to create.Copyright © 1996–2019 Geotools. All rights reserved.