Package org.geolatte.geom.crs
Class GeographicCoordinateReferenceSystem<P extends G2D>
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.CoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.SingleCoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.GeographicCoordinateReferenceSystem<P>
-
- Direct Known Subclasses:
Geographic2DCoordinateReferenceSystem,Geographic3DCoordinateReferenceSystem
public abstract class GeographicCoordinateReferenceSystem<P extends G2D> extends SingleCoordinateReferenceSystem<P>
Created by Karel Maesen, Geovise BVBA on 30/11/14.
-
-
Constructor Summary
Constructors Constructor Description GeographicCoordinateReferenceSystem(CrsId crsId, String name, CoordinateSystem<P> coordinateSystem)Constructs aHorizontalCoordinateReferenceSystem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DatumgetDatum()Returns theDatumfor thisCoordinateReferenceSystemPrimeMeridiangetPrimeMeridian()Returns thePrimeMeridianof thisCoordinateReferenceSystem.UnitgetUnit()Returns theUnitfor thisCoordinateReferenceSystem.inthashCode()voidsetDatum(Datum datum)Sets theDatumfor thisCoordinateReferenceSystemvoidsetPrimeMeridian(PrimeMeridian primeMeridian)Sets thePrimeMeridianfor thisCoordinateReferenceSystem.-
Methods inherited from class org.geolatte.geom.crs.SingleCoordinateReferenceSystem
isCompound
-
Methods inherited from class org.geolatte.geom.crs.CoordinateReferenceSystem
getAxis, getAxisIndex, getCoordinateDimension, getCoordinateSystem, getPositionClass, hasM, hasZ
-
Methods inherited from class org.geolatte.geom.crs.CrsIdentifiable
getCrsId, getName
-
-
-
-
Constructor Detail
-
GeographicCoordinateReferenceSystem
public GeographicCoordinateReferenceSystem(CrsId crsId, String name, CoordinateSystem<P> coordinateSystem)
Constructs aHorizontalCoordinateReferenceSystem.- Parameters:
crsId- theCrsIdthat identifies thisCoordinateReferenceSystemuniquelyname- the commonly used name for thisCoordinateReferenceSystemcoordinateSystem- the coordinate system to use @throws java.lang.IllegalArgumentException if less than twoCoordinateSystemAxesare passed.
-
-
Method Detail
-
getDatum
public Datum getDatum()
Returns theDatumfor thisCoordinateReferenceSystem- Returns:
-
setDatum
public void setDatum(Datum datum)
Sets theDatumfor thisCoordinateReferenceSystem- Parameters:
datum- theDatum
-
getPrimeMeridian
public PrimeMeridian getPrimeMeridian()
Returns thePrimeMeridianof thisCoordinateReferenceSystem.- Returns:
- the
PrimeMeridian
-
setPrimeMeridian
public void setPrimeMeridian(PrimeMeridian primeMeridian)
Sets thePrimeMeridianfor thisCoordinateReferenceSystem.- Parameters:
primeMeridian- thePrimeMeridian
-
getUnit
public Unit getUnit()
Returns theUnitfor thisCoordinateReferenceSystem.- Returns:
- the
Unit
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCoordinateReferenceSystem<P extends G2D>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCoordinateReferenceSystem<P extends G2D>
-
-