public class CoordinateSystem extends Object
A coordinate system is characterized by its CoordinateSystemAxes (in order).
| Constructor and Description |
|---|
CoordinateSystem(CoordinateSystemAxis... axes)
Constructs a
CoordinateSystem. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
CoordinateSystemAxis[] |
getAxes()
Returns the
CoordinateSystemAxes of this CoordinateSystem (in order). |
CoordinateSystemAxis |
getAxis(int index)
Returns the
CoordinateSystemAxis at the specified position. |
int |
getAxisIndex(CoordinateSystemAxis axis)
Returns the position of the specified
CoordinateSystemAxis in this CoordinateSystem. |
Unit |
getAxisUnit(int index)
Returns the
Unit of the axis at the specified position. |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e.
|
int |
hashCode() |
public CoordinateSystem(CoordinateSystemAxis... axes)
CoordinateSystem.
CoordinateSystems are characterized by their CoordinateSystemAxes.
axes - the sequence (at least two) of its CoordinateSystems.IllegalArgumentException - when less than two axes are specified.public CoordinateSystemAxis[] getAxes()
CoordinateSystemAxes of this CoordinateSystem (in order).public int getCoordinateDimension()
public int getAxisIndex(CoordinateSystemAxis axis)
CoordinateSystemAxis in this CoordinateSystem.axis - public CoordinateSystemAxis getAxis(int index)
CoordinateSystemAxis at the specified position.index - public Unit getAxisUnit(int index)
Unit of the axis at the specified position.index - Copyright © 2015 geolatte.org. All rights reserved.