public class AffineTransform2D extends org.geotools.referencing.operation.transform.AffineTransform2D implements MathTransform2D
MathTransform2D
is required.TYPE_FLIP, TYPE_GENERAL_ROTATION, TYPE_GENERAL_SCALE, TYPE_GENERAL_TRANSFORM, TYPE_IDENTITY, TYPE_MASK_ROTATION, TYPE_MASK_SCALE, TYPE_QUADRANT_ROTATION, TYPE_TRANSLATION, TYPE_UNIFORM_SCALE
IDENTITY, NULL
Constructor and Description |
---|
AffineTransform2D(AffineTransform transform)
Constructs a new affine transform with the same coefficient than the specified transform.
|
AffineTransform2D(double m00,
double m10,
double m01,
double m11,
double m02,
double m12)
Constructs a new
AffineTransform2D from 6 values representing the 6 specifiable
entries of the 3×3 transformation matrix. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Indicates whether some other object is "equal to" this one.
|
MathTransform2D |
inverse()
Creates the inverse transform of this object.
|
checkPermission, clone, createTransformedShape, derivative, derivative, formatWKT, getMatrix, getParameterValues, getSourceDimensions, getTargetDimensions, toString, toWKT, transform
concatenate, getFlip, getRotation, getScale, getScaleInstance, getScaleX0, getScaleY0, getSwapXY, inverseDeltaTransform, inverseTransform, isIdentity, isIdentity, preConcatenate, rotate, rotate, round, scale, setToIdentity, setToRotation, setToRotation, setToScale, setToShear, setToTranslation, setTransform, setTransform, shear, transform, transform, translate
createInverse, deltaTransform, deltaTransform, getDeterminant, getMatrix, getQuadrantRotateInstance, getQuadrantRotateInstance, getRotateInstance, getRotateInstance, getRotateInstance, getRotateInstance, getScaleInstance, getScaleX, getScaleY, getShearInstance, getShearX, getShearY, getTranslateInstance, getTranslateX, getTranslateY, getType, hashCode, inverseTransform, inverseTransform, invert, isIdentity, quadrantRotate, quadrantRotate, rotate, rotate, setToQuadrantRotation, setToQuadrantRotation, setToRotation, setToRotation, transform, transform, transform, transform, transform, transform
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getSourceDimensions, getTargetDimensions, hashCode, transform
createTransformedShape, derivative, transform
public AffineTransform2D(AffineTransform transform)
public AffineTransform2D(double m00, double m10, double m01, double m11, double m02, double m12)
AffineTransform2D
from 6 values representing the 6 specifiable
entries of the 3×3 transformation matrix. Those values are given unchanged to the
super
class constructor
.public MathTransform2D inverse() throws org.opengis.referencing.operation.NoninvertibleTransformException
inverse
in interface org.opengis.referencing.operation.MathTransform
inverse
in interface org.opengis.referencing.operation.MathTransform2D
inverse
in class org.geotools.referencing.operation.transform.AffineTransform2D
org.opengis.referencing.operation.NoninvertibleTransformException
- if this transform can't be inverted.public boolean equals(Object object)
MathTransform2D
The equals
method implements an equivalence relation
on non-null object references:
x
, x.equals(x)
should return
true
.
x
and y
, x.equals(y)
should return true
if and only if
y.equals(x)
returns true
.
x
, y
, and z
, if
x.equals(y)
returns true
and
y.equals(z)
returns true
, then
x.equals(z)
should return true
.
x
and y
, multiple invocations of
x.equals(y)
consistently return true
or consistently return false
, provided no
information used in equals
comparisons on the
objects is modified.
x
,
x.equals(null)
should return false
.
The equals
method for class Object
implements
the most discriminating possible equivalence relation on objects;
that is, for any non-null reference values x
and
y
, this method returns true
if and only
if x
and y
refer to the same object
(x == y
has the value true
).
Note that it is generally necessary to override the hashCode
method whenever this method is overridden, so as to maintain the
general contract for the hashCode
method, which states
that equal objects must have equal hash codes.
equals
in class org.geotools.referencing.operation.transform.AffineTransform2D
object
- the reference object with which to compare.true
if this object is the same as the obj
argument; false
otherwise.MathTransform2D.hashCode()
,
HashMap
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.