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 |
---|---|
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
Position s referenced in this system. |
int |
hashCode() |
boolean |
hasM() |
boolean |
hasZ() |
boolean |
isCompound() |
String |
toString() |
getCrsId, getName
public CoordinateReferenceSystem(CrsId crsId, String name, CoordinateSystem<P> coordinateSystem)
CoordinateReferenceSystem
.crsId
- the CrsId
that identifies this CoordinateReferenceSystem
uniquelyname
- the commonly used name for this CoordinateReferenceSystem
coordinateSystem
- the coordinate system to useIllegalArgumentException
- if less than two CoordinateSystemAxes
are passed.public Class<P> getPositionClass()
Position
s 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 upCoordinateReferenceSystem
public boolean isCompound()
public boolean equals(Object o)
equals
in class CrsIdentifiable
public int hashCode()
hashCode
in class CrsIdentifiable
public boolean hasZ()
public boolean hasM()
Copyright © 2021 geolatte.org. All rights reserved.