Package org.locationtech.proj4j.datum
Enum AxisOrder.Axis
- java.lang.Object
-
- java.lang.Enum<AxisOrder.Axis>
-
- org.locationtech.proj4j.datum.AxisOrder.Axis
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AxisOrder.Axis>
- Enclosing class:
- AxisOrder
public static enum AxisOrder.Axis extends java.lang.Enum<AxisOrder.Axis>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Axis()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) static AxisOrder.Axis
fromChar(char c)
abstract double
fromENU(ProjCoordinate c)
abstract void
toENU(double x, ProjCoordinate c)
static AxisOrder.Axis
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AxisOrder.Axis[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Easting
public static final AxisOrder.Axis Easting
-
Westing
public static final AxisOrder.Axis Westing
-
Northing
public static final AxisOrder.Axis Northing
-
Southing
public static final AxisOrder.Axis Southing
-
Up
public static final AxisOrder.Axis Up
-
Down
public static final AxisOrder.Axis Down
-
-
Method Detail
-
values
public static AxisOrder.Axis[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AxisOrder.Axis c : AxisOrder.Axis.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AxisOrder.Axis valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromChar
static AxisOrder.Axis fromChar(char c)
-
fromENU
public abstract double fromENU(ProjCoordinate c)
-
toENU
public abstract void toENU(double x, ProjCoordinate c)
-
-