org.cts.op.transformation
Class Altitude2EllipsoidalHeight
java.lang.Object
org.cts.IdentifiableComponent
org.cts.op.AbstractCoordinateOperation
org.cts.op.transformation.Altitude2EllipsoidalHeight
- All Implemented Interfaces:
- Identifiable, CoordinateOperation
public class Altitude2EllipsoidalHeight
- extends AbstractCoordinateOperation
Altitude2EllipsoidalHeight is a coordinate operation used to transform 3D
coordinates containing the altitude in the third coordinate with a grid
transformation that return the equivalent coordinates with ellipsoidal height
instead of altitude.
- Author:
- Jules Party
| Methods inherited from class org.cts.IdentifiableComponent |
addAlias, addRemark, equals, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, hashCode, setIdentifier, setRemarks, setShortName, toString |
| Methods inherited from interface org.cts.Identifiable |
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName |
Altitude2EllipsoidalHeight
public Altitude2EllipsoidalHeight(String nameGrid,
GeodeticDatum gd)
throws Exception
- Altitude translation with parameter interpolated from a grid depending on
the geographic coordinates of the point to convert.
- Parameters:
id - the identifier of the Altitude2EllipsoidalHeightnameGrid - the name of the grid file to usegd - the geodetic datum in which the geographic coordinates used in
the interpolation must be expressed
- Throws:
Exception
getAssociatedDatum
public GeodeticDatum getAssociatedDatum()
- Return the geodetic datum associated to this transformation. The latitude
and longitude of the coordinate must be expressed in this datum to obtain
good results.
getGridFileName
public String getGridFileName()
- Return the name of the grid file used to define this transformation.
transform
public double[] transform(double[] coord)
throws IllegalCoordinateException
- Description copied from class:
AbstractCoordinateOperation
- Return a double[] representing the same location as coord but in another
CoordinateReferenceSystem.
- Specified by:
transform in interface CoordinateOperation- Specified by:
transform in class AbstractCoordinateOperation
- Parameters:
coord - the input coordinate
- Returns:
- a double array containing the output coordinate
- Throws:
IllegalCoordinateException - if coord is not
compatible with this CoordinateOperation.- See Also:
AbstractCoordinateOperation.transform(double[])
inverse
public CoordinateOperation inverse()
throws NonInvertibleOperationException
- Creates the inverse CoordinateOperation.
- Specified by:
inverse in interface CoordinateOperation- Overrides:
inverse in class AbstractCoordinateOperation
- Throws:
NonInvertibleOperationException
Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.