public enum CoordinateComponent extends Enum<CoordinateComponent>
The X- and Y-components correspond to the first, resp. second CoordinateSystemAxis
of the associated CoordinateSystem
. These two components are always present.
The Z- and M-components are optional. The Z-component is, if present, always the third component; if present, the M-component is either the third or fourth component.
Modifier and Type | Method and Description |
---|---|
static CoordinateComponent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoordinateComponent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoordinateComponent X
public static final CoordinateComponent Y
public static final CoordinateComponent Z
public static final CoordinateComponent M
public static CoordinateComponent[] values()
for (CoordinateComponent c : CoordinateComponent.values()) System.out.println(c);
public static CoordinateComponent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015 geolatte.org. All rights reserved.