org.cts.crs
Class GeocentricCRS

java.lang.Object
  extended by org.cts.IdentifiableComponent
      extended by org.cts.crs.GeodeticCRS
          extended by org.cts.crs.GeocentricCRS
All Implemented Interfaces:
CoordinateReferenceSystem, Identifiable

public class GeocentricCRS
extends GeodeticCRS

A geocentric CoordinateReferenceSystem is a 3D cartesian coordinate system centered on the Earth center of mass.

Note that the Earth center of mass is not something easily identifiable, especially before the advent of space geodesy, which partially explains there are so many datums, and therefore, so many CoordinateReferenceSystems

Author:
Michaƫl Michaud

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cts.crs.CoordinateReferenceSystem
CoordinateReferenceSystem.Type
 
Field Summary
 
Fields inherited from class org.cts.crs.GeodeticCRS
coordinateSystem
 
Fields inherited from interface org.cts.Identifiable
DEFAULT, LOCAL, UNKNOWN
 
Constructor Summary
GeocentricCRS(Identifier identifier, GeodeticDatum datum, CoordinateSystem coordSys)
          Create a new Geocentric CRS based on given datum, identifier and coordinate system.
 
Method Summary
 CoordinateOperation fromGeographicCoordinateConverter()
          Creates a CoordinateOperation object to convert coordinates from a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m) to this CoordinateReferenceSystem.
 CoordinateReferenceSystem.Type getType()
          Returns this CoordinateReferenceSystem Type.
 CoordinateOperation toGeographicCoordinateConverter()
          Creates a CoordinateOperation object to convert coordinates from this CoordinateReferenceSystem to a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m).
 String toWKT()
          Returns a WKT representation of the geocentric CRS.
 
Methods inherited from class org.cts.crs.GeodeticCRS
addCRSTransformation, addGridTransformation, equals, getCoordinateSystem, getCRSTransformations, getCRSTransformations, getDatum, getDimension, getGridTransformations, getGridTransformations, getProjection, hashCode, isValid, toString
 
Methods inherited from class org.cts.IdentifiableComponent
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cts.Identifiable
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName
 

Constructor Detail

GeocentricCRS

public GeocentricCRS(Identifier identifier,
                     GeodeticDatum datum,
                     CoordinateSystem coordSys)
Create a new Geocentric CRS based on given datum, identifier and coordinate system.

Parameters:
identifier - the identifier of the GeocentricCRS
datum - the datum associated with the GeocentricCRS
coordSys - the coordinate system associated with the GeocentricCRS
Method Detail

getType

public CoordinateReferenceSystem.Type getType()
Returns this CoordinateReferenceSystem Type.

Specified by:
getType in interface CoordinateReferenceSystem
Specified by:
getType in class GeodeticCRS
See Also:
CoordinateReferenceSystem.getType()

toGeographicCoordinateConverter

public CoordinateOperation toGeographicCoordinateConverter()
                                                    throws NonInvertibleOperationException
Description copied from class: GeodeticCRS
Creates a CoordinateOperation object to convert coordinates from this CoordinateReferenceSystem to a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m).

Specified by:
toGeographicCoordinateConverter in class GeodeticCRS
Throws:
NonInvertibleOperationException
See Also:
GeodeticCRS.toGeographicCoordinateConverter()

fromGeographicCoordinateConverter

public CoordinateOperation fromGeographicCoordinateConverter()
                                                      throws NonInvertibleOperationException
Description copied from class: GeodeticCRS
Creates a CoordinateOperation object to convert coordinates from a GeographicReferenceSystem based on the same horizonal datum and vertical datum, and using normal SI units in the following order : latitude (rad), longitude (rad) height/altitude (m) to this CoordinateReferenceSystem.

Specified by:
fromGeographicCoordinateConverter in class GeodeticCRS
Throws:
NonInvertibleOperationException
See Also:
GeodeticCRS.fromGeographicCoordinateConverter()

toWKT

public String toWKT()
Returns a WKT representation of the geocentric CRS.

Specified by:
toWKT in interface CoordinateReferenceSystem
Specified by:
toWKT in class GeodeticCRS


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.