Class SpecializableTransform2D
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.operation.transform.AbstractMathTransform
org.apache.sis.referencing.operation.transform.SpecializableTransform
org.apache.sis.referencing.operation.transform.SpecializableTransform2D
- All Implemented Interfaces:
Serializable,Parameterized,LenientComparable,org.opengis.referencing.operation.MathTransform,org.opengis.referencing.operation.MathTransform2D
final class SpecializableTransform2D
extends SpecializableTransform
implements org.opengis.referencing.operation.MathTransform2D
A specializable transform in the two-dimensional case.
- Since:
- 1.0
- Version:
- 1.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final classThe inverse ofSpecializableTransform2D. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longSerial number for inter-operability with different versions.Fields inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
MAXIMUM_BUFFER_SIZE, MAXIMUM_FAILURES -
Constructor Summary
ConstructorsConstructorDescriptionSpecializableTransform2D(org.opengis.referencing.operation.MathTransform global, Map<org.opengis.geometry.Envelope, org.opengis.referencing.operation.MathTransform> specializations) Creates a new transform. -
Method Summary
Modifier and TypeMethodDescription(package private) SpecializableTransform2D.InverseInvoked at construction time for creating the two-dimensional inverse transform.createTransformedShape(Shape shape) Transforms the specified shape.org.opengis.referencing.operation.Matrixderivative(Point2D point) Gets the derivative of this transform at a point.org.opengis.referencing.operation.MathTransform2Dinverse()Returns the inverse transform of this object.Transforms the specifiedptSrcand stores the result inptDst.Methods inherited from class org.apache.sis.referencing.operation.transform.SpecializableTransform
computeHashCode, derivative, equals, formatTo, getSourceDimensions, getSubstitute, getTargetDimensions, transform, transform, transform, transform, transform, transformMethods inherited from class org.apache.sis.referencing.operation.transform.AbstractMathTransform
beforeFormat, equals, getContextualParameters, getDomain, getParameterDescriptors, getParameterValues, hashCode, isIdentity, isInverseEquals, mismatchedDimension, 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 serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
-
Constructor Details
-
SpecializableTransform2D
SpecializableTransform2D(org.opengis.referencing.operation.MathTransform global, Map<org.opengis.geometry.Envelope, org.opengis.referencing.operation.MathTransform> specializations) Creates a new transform.
-
-
Method Details
-
transform
public Point2D transform(Point2D ptSrc, Point2D ptDst) throws org.opengis.referencing.operation.TransformException Transforms the specifiedptSrcand stores the result inptDst.- Specified by:
transformin interfaceorg.opengis.referencing.operation.MathTransform2D- Throws:
org.opengis.referencing.operation.TransformException
-
createTransformedShape
public Shape createTransformedShape(Shape shape) throws org.opengis.referencing.operation.TransformException Transforms the specified shape.- Specified by:
createTransformedShapein interfaceorg.opengis.referencing.operation.MathTransform2D- Throws:
org.opengis.referencing.operation.TransformException
-
derivative
public org.opengis.referencing.operation.Matrix derivative(Point2D point) throws org.opengis.referencing.operation.TransformException Gets the derivative of this transform at a point.- Specified by:
derivativein interfaceorg.opengis.referencing.operation.MathTransform2D- Throws:
org.opengis.referencing.operation.TransformException
-
inverse
public org.opengis.referencing.operation.MathTransform2D inverse() throws org.opengis.referencing.operation.NoninvertibleTransformExceptionReturns the inverse transform of this object.- Specified by:
inversein interfaceorg.opengis.referencing.operation.MathTransform- Specified by:
inversein interfaceorg.opengis.referencing.operation.MathTransform2D- Overrides:
inversein classSpecializableTransform- Throws:
org.opengis.referencing.operation.NoninvertibleTransformException
-
createInverse
SpecializableTransform2D.Inverse createInverse() throws org.opengis.referencing.operation.NoninvertibleTransformExceptionInvoked at construction time for creating the two-dimensional inverse transform.- Overrides:
createInversein classSpecializableTransform- Throws:
org.opengis.referencing.operation.NoninvertibleTransformException
-