Class ZonedGridSystem.Inverse
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.AbstractMathTransform
org.apache.sis.referencing.operation.transform.AbstractMathTransform.Inverse
org.apache.sis.referencing.operation.transform.AbstractMathTransform2D.Inverse
org.apache.sis.referencing.operation.projection.ZonedGridSystem.Inverse
- All Implemented Interfaces:
Serializable,Parameterized,LenientComparable,org.opengis.referencing.operation.MathTransform,org.opengis.referencing.operation.MathTransform2D
- Enclosing class:
- ZonedGridSystem
private static final class ZonedGridSystem.Inverse
extends AbstractMathTransform2D.Inverse
implements Serializable
Inverse of a zoned grid system.
- Since:
- 0.8
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
AbstractMathTransform.Inverse -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ZonedGridSystemThe enclosing transform.private final AbstractMathTransformThe projection that performs the actual work after we removed the zone number.private static final longFor cross-version compatibility. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.MathTransform2Dinverse()Returns the inverse of this math transform.org.opengis.referencing.operation.Matrixtransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) Inverse transforms the specifiedsrcPtsand stores the result indstPts.Methods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform2D.Inverse
createTransformedShape, derivative, transformMethods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform.Inverse
computeHashCode, derivative, equals, formatTo, getDomain, getSourceDimensions, getTargetDimensions, isIdentityMethods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
equals, getContextualParameters, getParameterDescriptors, getParameterValues, hashCode, 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
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
forward
The enclosing transform. -
inverseProjection
The projection that performs the actual work after we removed the zone number.
-
-
Constructor Details
-
Inverse
Inverse(ZonedGridSystem forward) throws org.opengis.util.FactoryException Default constructor.- Throws:
org.opengis.util.FactoryException
-
-
Method Details
-
inverse
public org.opengis.referencing.operation.MathTransform2D inverse()Returns the inverse of this math transform.- Specified by:
inversein interfaceorg.opengis.referencing.operation.MathTransform- Specified by:
inversein interfaceorg.opengis.referencing.operation.MathTransform2D- Specified by:
inversein classAbstractMathTransform2D.Inverse- Returns:
- the inverse of this transform.
-
transform
public org.opengis.referencing.operation.Matrix transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) throws org.opengis.referencing.operation.TransformException Inverse transforms the specifiedsrcPtsand stores the result indstPts. If the derivative has been requested, then this method will delegate the derivative calculation to the enclosing class and inverts the resulting matrix.- Specified by:
transformin classAbstractMathTransform- 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:
-