Class InterpolatedGeocentricTransform.Inverse
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.AbstractMathTransform
org.apache.sis.referencing.operation.transform.DatumShiftTransform
org.apache.sis.referencing.operation.transform.InterpolatedGeocentricTransform
org.apache.sis.referencing.operation.transform.InterpolatedGeocentricTransform.Inverse
- All Implemented Interfaces:
Serializable,Parameterized,LenientComparable,org.opengis.referencing.operation.MathTransform
- Direct Known Subclasses:
InterpolatedGeocentricTransform2D.Inverse
- Enclosing class:
- InterpolatedGeocentricTransform
The inverse of the enclosing
InterpolatedGeocentricTransform.
This transform applies an algorithm similar to the one documented in the enclosing class,
with the following differences:
- Since:
- 0.7
- Version:
- 0.7
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.referencing.operation.transform.InterpolatedGeocentricTransform
InterpolatedGeocentricTransform.Inverse -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerial number for inter-operability with different versions.private final doubleInitial translation values to use before to improve the accuracy with the interpolation.private final doubleInitial translation values to use before to improve the accuracy with the interpolation.private final doubleInitial translation values to use before to improve the accuracy with the interpolation.Fields inherited from class org.apache.sis.referencing.operation.transform.InterpolatedGeocentricTransform
centricToEllipsoid, DESCRIPTOR, ellipsoidToCentric, scale, semiMajorFields inherited from class org.apache.sis.referencing.operation.transform.DatumShiftTransform
context, gridFields inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
MAXIMUM_BUFFER_SIZE, MAXIMUM_FAILURES -
Constructor Summary
ConstructorsConstructorDescriptionInverse(InterpolatedGeocentricTransform inverse, org.opengis.referencing.datum.Ellipsoid source, org.opengis.referencing.datum.Ellipsoid target) Constructs the inverse of an interpolated geocentric transform. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.Matrixtransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) Transforms the (λ,φ) or (λ,φ,h) coordinates between two geographic CRS, and optionally returns the derivative at that location.Methods inherited from class org.apache.sis.referencing.operation.transform.InterpolatedGeocentricTransform
concatenate, createGeodeticTransformation, getSourceDimensions, getTargetDimensions, inverseMethods inherited from class org.apache.sis.referencing.operation.transform.DatumShiftTransform
computeHashCode, ensureGeocentricTranslation, equals, getContextualParameters, getParameterValues, normalizedToGridX, normalizedToGridY, setContextParametersMethods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
beforeFormat, derivative, equals, formatTo, getDomain, getParameterDescriptors, hashCode, isIdentity, isInverseEquals, mismatchedDimension, transform, transform, transform, transform, transform, tryConcatenateMethods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKTMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.referencing.operation.MathTransform
toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
tX
private final double tXInitial translation values to use before to improve the accuracy with the interpolation. -
tY
private final double tYInitial translation values to use before to improve the accuracy with the interpolation. -
tZ
private final double tZInitial translation values to use before to improve the accuracy with the interpolation.
-
-
Constructor Details
-
Inverse
Inverse(InterpolatedGeocentricTransform inverse, org.opengis.referencing.datum.Ellipsoid source, org.opengis.referencing.datum.Ellipsoid target) Constructs the inverse of an interpolated geocentric transform.- Parameters:
inverse- The transform for which to create the inverse.source- The source ellipsoid of the giveninversetransform.target- The target ellipsoid of the giveninversetransform.
-
-
Method Details
-
transform
public org.opengis.referencing.operation.Matrix transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) throws org.opengis.referencing.operation.TransformException Transforms the (λ,φ) or (λ,φ,h) coordinates between two geographic CRS, and optionally returns the derivative at that location.- Overrides:
transformin classInterpolatedGeocentricTransform- Parameters:
srcPts- the array containing the source coordinates (cannot benull).srcOff- the offset to the point to be transformed in the source array.dstPts- the array into which the transformed coordinates is returned. May be the same thansrcPts. May benullif only the derivative matrix is desired.dstOff- the offset to the location of the transformed point that is stored in the destination array.derivate-truefor computing the derivative, orfalseif not needed.- Returns:
- the matrix of the transform derivative at the given source position,
or
nullif thederivateargument isfalse. - Throws:
org.opengis.referencing.operation.TransformException- if the point cannot be transformed or if a problem occurred while calculating the derivative.- See Also:
-