protected abstract class AbstractMathTransform2D.Inverse extends AbstractMathTransform.Inverse implements MathTransform2D
AbstractMathTransform2D
.
Defined in the sis-referencing
module
AbstractMathTransform.Inverse
Modifier | Constructor and Description |
---|---|
protected |
Inverse()
Constructs an inverse math transform.
|
Modifier and Type | Method and Description |
---|---|
Shape |
createTransformedShape(Shape shape)
Transforms the specified shape.
|
Matrix |
derivative(Point2D point)
Gets the derivative of this transform at a point.
|
MathTransform2D |
inverse()
Returns the enclosing math transform.
|
Point2D |
transform(Point2D ptSrc,
Point2D ptDst)
Transforms the specified
ptSrc and stores the result in ptDst . |
computeHashCode, derivative, equals, formatTo, getSourceDimensions, getTargetDimensions, isIdentity
equals, getContextualParameters, getParameterDescriptors, getParameterValues, hashCode, transform, transform, transform, transform, transform, transform
print, toString, toString, toWKT
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform
public MathTransform2D inverse()
inverse
in interface MathTransform
inverse
in interface MathTransform2D
inverse
in class AbstractMathTransform.Inverse
public Point2D transform(Point2D ptSrc, Point2D ptDst) throws TransformException
ptSrc
and stores the result in ptDst
.
The default implementation invokes AbstractMathTransform.transform(double[], int, double[], int, boolean)
using a temporary array of doubles.transform
in interface MathTransform2D
ptSrc
- The coordinate point to be transformed.ptDst
- The coordinate point that stores the result of transforming ptSrc
,
or null
if a new point shall be created.ptSrc
and storing the result in ptDst
,
or in a new point if ptDst
was null.TransformException
- If the point can not be transformed.MathTransform2D.transform(Point2D, Point2D)
public Shape createTransformedShape(Shape shape) throws TransformException
Path2D
, but may also be a Line2D
or a QuadCurve2D
if such
simplification is possible.createTransformedShape
in interface MathTransform2D
shape
- Shape to transform.shape
if this transform is the identity transform.TransformException
- if a transform failed.public Matrix derivative(Point2D point) throws TransformException
AbstractMathTransform.transform(double[], int, double[], int, boolean)
method,
with the derivate
boolean argument set to true
.TransformException
.derivative
in interface MathTransform2D
point
- The coordinate point where to evaluate the derivative.TransformException
- if the derivative can not be evaluated at the specified point.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.