public abstract class CoordinateReferenceSystem<P extends Position> extends CrsIdentifiable
| Constructor and Description |
|---|
CoordinateReferenceSystem(CrsId crsId,
String name,
CoordinateSystem<P> coordinateSystem)
Constructs a
CoordinateReferenceSystem. |
| Modifier and Type | Method and Description |
|---|---|
<Q extends P> |
addLinearSystem(LinearUnit unit,
Class<Q> clazz) |
<Q extends P> |
addVerticalSystem(LinearUnit unit,
Class<Q> clazz) |
boolean |
equals(Object o) |
CoordinateSystemAxis |
getAxis(int idx)
Return the
CoordinateSystemAxes associated with this CoordinateReferenceSystem. |
int |
getAxisIndex(CoordinateSystemAxis axis)
Returns the index of the specified axis in this
CoordinateReferenceSystem, or
-1 if it is not an axis of this system. |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e.
|
CoordinateSystem<P> |
getCoordinateSystem()
Returns the
CoordinateSystem associated with this CoordinateReferenceSystem. |
Class<P> |
getPositionClass()
Returns the type token for the type of
Positions referenced in this system. |
int |
hashCode() |
boolean |
hasM() |
boolean |
hasZ() |
boolean |
isCompound() |
String |
toString() |
getCrsId, getNamepublic CoordinateReferenceSystem(CrsId crsId, String name, CoordinateSystem<P> coordinateSystem)
CoordinateReferenceSystem.crsId - the CrsId that identifies this CoordinateReferenceSystem uniquelyname - the commonly used name for this CoordinateReferenceSystemcoordinateSystem - the coordinate system to useIllegalArgumentException - if less than two CoordinateSystemAxes are passed.public Class<P> getPositionClass()
Positions referenced in this system.public CoordinateSystem<P> getCoordinateSystem()
CoordinateSystem associated with this CoordinateReferenceSystem.CoordinateSystem associated with this CoordinateReferenceSystem.public int getCoordinateDimension()
public CoordinateSystemAxis getAxis(int idx)
CoordinateSystemAxes associated with this CoordinateReferenceSystem.CoordinateSystemAxes.public int getAxisIndex(CoordinateSystemAxis axis)
CoordinateReferenceSystem, or
-1 if it is not an axis of this system.axis - the axis to look upCoordinateReferenceSystempublic boolean isCompound()
public <Q extends P> CoordinateReferenceSystem<Q> addVerticalSystem(LinearUnit unit, Class<Q> clazz)
public <Q extends P> CoordinateReferenceSystem<Q> addLinearSystem(LinearUnit unit, Class<Q> clazz)
public boolean equals(Object o)
equals in class CrsIdentifiablepublic int hashCode()
hashCode in class CrsIdentifiablepublic boolean hasZ()
public boolean hasM()
Copyright © 2021 geolatte.org. All rights reserved.