public abstract class CoordinateSystemAxis
extends java.lang.Object
CoordinateSystem.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
axisName |
private CoordinateSystemAxisDirection |
coordinateSystemAxisDirection |
private int |
normalOrder |
private Unit |
unit |
| Constructor and Description |
|---|
CoordinateSystemAxis(java.lang.String axisName,
CoordinateSystemAxisDirection coordinateSystemAxisDirection,
int normalOrder,
Unit unit)
Creates an instance with
|
CoordinateSystemAxis(java.lang.String axisName,
CoordinateSystemAxisDirection coordinateSystemAxisDirection,
Unit unit)
Creates an instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
CoordinateSystemAxisDirection |
getAxisDirection() |
java.lang.String |
getAxisName()
Returns the name of this axis.
|
int |
getNormalOrder()
Indicates the position for the Axis in the normalized order of axes.
|
Unit |
getUnit() |
int |
hashCode() |
static GeodeticLatitudeCSAxis |
mkLatAxis() |
static GeodeticLongitudeCSAxis |
mkLonAxis() |
static StraightLineAxis |
mkXAxis() |
static StraightLineAxis |
mkYAxis() |
static StraightLineAxis |
mkZAxis() |
java.lang.String |
toString() |
private final java.lang.String axisName
private final CoordinateSystemAxisDirection coordinateSystemAxisDirection
private final Unit unit
private final int normalOrder
CoordinateSystemAxis(java.lang.String axisName,
CoordinateSystemAxisDirection coordinateSystemAxisDirection,
Unit unit)
axisName - the name for this axiscoordinateSystemAxisDirection - the direction for this axisunit - the unit of this axisCoordinateSystemAxis(java.lang.String axisName,
CoordinateSystemAxisDirection coordinateSystemAxisDirection,
int normalOrder,
Unit unit)
axisName - the name for this axiscoordinateSystemAxisDirection - the direction for this axisunit - the unit of this axispublic static GeodeticLongitudeCSAxis mkLonAxis()
public static GeodeticLatitudeCSAxis mkLatAxis()
public static StraightLineAxis mkXAxis()
public static StraightLineAxis mkYAxis()
public static StraightLineAxis mkZAxis()
public java.lang.String getAxisName()
public CoordinateSystemAxisDirection getAxisDirection()
public Unit getUnit()
public int getNormalOrder()
The coordinates of Positions in a specific CoordinateSystem needs to respect this invariant:
if the axes are sorted according to their normalOrder property, then this gives the order in which the corresponding
coordinate elements are stored in the position.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object