public interface CoordinateOperation extends Identifiable
This is the main interface used to implement geodetic algorithms and perform
coordinate conversions or coordinate transformations from one
CoordinateReferenceSystem to another.
DEFAULT, LOCAL, UNKNOWN| Modifier and Type | Method and Description |
|---|---|
double |
getPrecision()
Return the precision of the transformation.
|
CoordinateOperation |
inverse()
Return the inverse CoordinateOperation, or throw a
NonInvertibleOperationException.
|
boolean |
isIdentity() |
double[] |
transform(double[] coord)
Transform values of a double array.
|
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortNamedouble[] transform(double[] coord)
throws IllegalCoordinateException,
CoordinateOperationException
WARNING : In the general case, double values of the coord parameter are changed without the creation of a new array. In some cases (when the returned array must have a different length, a new double array is created and returned.
coord - coordinate to be transformedIllegalCoordinateException - if coord is not
compatible with this CoordinateOperation.CoordinateOperationException - if this operation
failed during the transformation process.CoordinateOperation inverse() throws NonInvertibleOperationException
op.inverse().transform(op.transform(point));should let point unchanged.
NonInvertibleOperationExceptiondouble getPrecision()
Precision is a double
representing the mean error, in meters made on the position resulting
from this
CoordinateOperation.
ex. : 0.001 means that the precision of the resulting position is about one millimeter
Default precision (or maximum precision) is considered to be equals to 1E-9 which is the value of an ulp (units in the last place) for a double value equals to 6378137.0 (Earth semi-major axis).
boolean isIdentity()
Copyright © 2019 CNRS. All rights reserved.