Package org.geolatte.geom.crs
Class GeocentricCartesianCoordinateReferenceSystem
- java.lang.Object
-
- org.geolatte.geom.crs.CrsIdentifiable
-
- org.geolatte.geom.crs.CoordinateReferenceSystem<P>
-
- org.geolatte.geom.crs.SingleCoordinateReferenceSystem<C3D>
-
- org.geolatte.geom.crs.GeocentricCartesianCoordinateReferenceSystem
-
public class GeocentricCartesianCoordinateReferenceSystem extends SingleCoordinateReferenceSystem<C3D>
A geo-centricCoordinateReferenceSystem.A geo-centric coordinate system is defined as "a 3D coordinate system, with its origin at the centre of the Earth. The X axis points towards the prime meridian. The Y axis points East or West. The Z axis points North or South. By default the Z axis will point North, and the Y axis will point East (e.g. a right handed system), but you should check the axes for non-default values" (see [CTS-1.00], p. 62.).
- Author:
- Karel Maesen, Geovise BVBA creation-date: 8/5/11
-
-
Constructor Summary
Constructors Constructor Description GeocentricCartesianCoordinateReferenceSystem(CrsId crsId, String name, Datum datum, PrimeMeridian primeMeridian, CartesianCoordinateSystem3D crs)Constructs aCoordinateReferenceSystem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DatumgetDatum()PrimeMeridiangetPrimeMeridian()inthashCode()-
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
-
GeocentricCartesianCoordinateReferenceSystem
public GeocentricCartesianCoordinateReferenceSystem(CrsId crsId, String name, Datum datum, PrimeMeridian primeMeridian, CartesianCoordinateSystem3D crs)
Constructs aCoordinateReferenceSystem.- Parameters:
crsId- theCrsIdthat identifies thisCoordinateReferenceSystemuniquelyname- the commonly used name for thisCoordinateReferenceSystemcrs- the 3D-coordinate system for this- Throws:
IllegalArgumentException- if less than twoCoordinateSystemAxesare passed.
-
-
Method Detail
-
getDatum
public Datum getDatum()
-
getPrimeMeridian
public PrimeMeridian getPrimeMeridian()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCoordinateReferenceSystem<C3D>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCoordinateReferenceSystem<C3D>
-
-