| java.lang.Object java.awt.geom.AffineTransform org.geotools.referencing.operation.matrix.XAffineTransform org.geotools.referencing.operation.transform.AffineTransform2D
AffineTransform2D | final class AffineTransform2D extends XAffineTransform implements MathTransform2D,LinearTransform,Formattable(Code) | | Transforms two-dimensional coordinate points using an
AffineTransform .
since: 2.0 version: $Id: AffineTransform2D.java 24925 2007-03-27 20:12:08Z jgarnett $ author: Martin Desruisseaux |
Method Summary | |
protected void | checkPermission() Throws an
UnsupportedOperationException when a mutable method
is invoked, since
AffineTransform2D must be immutable. | public Matrix | derivative(Point2D point) Gets the derivative of this transform at a point. | public Matrix | derivative(DirectPosition point) Gets the derivative of this transform at a point. | public String | formatWKT(Formatter formatter) Format the inner part of a
Well
Known Text (WKT) element.
Parameters: formatter - The formatter to use. | public Matrix | getMatrix() Returns this transform as an affine transform matrix. | public ParameterValueGroup | getParameterValues() Returns the matrix elements as a group of parameters values. | public int | getSourceDimensions() Gets the dimension of input points. | public int | getTargetDimensions() Gets the dimension of output points. | public MathTransform | inverse() Creates the inverse transform of this object. | public String | toString() Returns the WKT representation of this transform. | public String | toWKT() Returns the WKT for this transform. | public DirectPosition | transform(DirectPosition ptSrc, DirectPosition ptDst) Transforms the specified
ptSrc and stores the result in
ptDst . |
AffineTransform2D | protected AffineTransform2D(AffineTransform transform)(Code) | | Constructs an affine transform.
|
derivative | public Matrix derivative(Point2D point)(Code) | | Gets the derivative of this transform at a point. For an affine transform,
the derivative is the same everywhere.
|
derivative | public Matrix derivative(DirectPosition point)(Code) | | Gets the derivative of this transform at a point.
For an affine transform, the derivative is the
same everywhere.
|
getMatrix | public Matrix getMatrix()(Code) | | Returns this transform as an affine transform matrix.
|
getParameterValues | public ParameterValueGroup getParameterValues()(Code) | | Returns the matrix elements as a group of parameters values. The number of parameters
depends on the matrix size. Only matrix elements different from their default value
will be included in this group.
A copy of the parameter values for this math transform. |
getSourceDimensions | public int getSourceDimensions()(Code) | | Gets the dimension of input points.
|
getTargetDimensions | public int getTargetDimensions()(Code) | | Gets the dimension of output points.
|
inverse | public MathTransform inverse() throws NoninvertibleTransformException(Code) | | Creates the inverse transform of this object.
|
toString | public String toString()(Code) | | Returns the WKT representation of this transform.
|
toWKT | public String toWKT()(Code) | | Returns the WKT for this transform.
|
transform | public DirectPosition transform(DirectPosition ptSrc, DirectPosition ptDst)(Code) | | Transforms the specified
ptSrc and stores the result in
ptDst .
|
Fields inherited from org.geotools.referencing.operation.matrix.XAffineTransform | final public static double EPS(Code)(Java Doc)
|
Methods inherited from org.geotools.referencing.operation.matrix.XAffineTransform | abstract protected void checkPermission()(Code)(Java Doc) public void concatenate(AffineTransform Tx)(Code)(Java Doc) public static int getFlip(AffineTransform tr)(Code)(Java Doc) public static double getRotation(AffineTransform tr)(Code)(Java Doc) public static double getScale(AffineTransform tr)(Code)(Java Doc) public static AffineTransform getScaleInstance(double sx, double sy, double x, double y)(Code)(Java Doc) public static double getScaleX0(AffineTransform tr)(Code)(Java Doc) public static double getScaleY0(AffineTransform tr)(Code)(Java Doc) public static int getSwapXY(AffineTransform tr)(Code)(Java Doc) public static Point2D inverseDeltaTransform(AffineTransform transform, Point2D source, Point2D dest) throws NoninvertibleTransformException(Code)(Java Doc) public static Rectangle2D inverseTransform(AffineTransform transform, Rectangle2D bounds, Rectangle2D dest) throws NoninvertibleTransformException(Code)(Java Doc) public boolean isIdentity(double tolerance)(Code)(Java Doc) public static boolean isIdentity(AffineTransform tr, double tolerance)(Code)(Java Doc) public void preConcatenate(AffineTransform Tx)(Code)(Java Doc) public void rotate(double theta)(Code)(Java Doc) public void rotate(double theta, double x, double y)(Code)(Java Doc) public static void round(AffineTransform tr)(Code)(Java Doc) public static void round(AffineTransform tr, double tolerance)(Code)(Java Doc) public void scale(double sx, double sy)(Code)(Java Doc) public void setToIdentity()(Code)(Java Doc) public void setToRotation(double theta)(Code)(Java Doc) public void setToRotation(double theta, double x, double y)(Code)(Java Doc) public void setToScale(double sx, double sy)(Code)(Java Doc) public void setToShear(double shx, double shy)(Code)(Java Doc) public void setToTranslation(double tx, double ty)(Code)(Java Doc) public void setTransform(AffineTransform Tx)(Code)(Java Doc) public void setTransform(double m00, double m10, double m01, double m11, double m02, double m12)(Code)(Java Doc) public void shear(double shx, double shy)(Code)(Java Doc) public static Rectangle2D transform(AffineTransform transform, Rectangle2D bounds, Rectangle2D dest)(Code)(Java Doc) public void translate(double tx, double ty)(Code)(Java Doc)
|
Methods inherited from java.awt.geom.AffineTransform | public Object clone()(Code)(Java Doc) public void concatenate(AffineTransform Tx)(Code)(Java Doc) public AffineTransform createInverse() throws NoninvertibleTransformException(Code)(Java Doc) public Shape createTransformedShape(Shape pSrc)(Code)(Java Doc) public Point2D deltaTransform(Point2D ptSrc, Point2D ptDst)(Code)(Java Doc) public void deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public double getDeterminant()(Code)(Java Doc) public void getMatrix(double[] flatmatrix)(Code)(Java Doc) public static AffineTransform getQuadrantRotateInstance(int numquadrants)(Code)(Java Doc) public static AffineTransform getQuadrantRotateInstance(int numquadrants, double anchorx, double anchory)(Code)(Java Doc) public static AffineTransform getRotateInstance(double theta)(Code)(Java Doc) public static AffineTransform getRotateInstance(double theta, double anchorx, double anchory)(Code)(Java Doc) public static AffineTransform getRotateInstance(double vecx, double vecy)(Code)(Java Doc) public static AffineTransform getRotateInstance(double vecx, double vecy, double anchorx, double anchory)(Code)(Java Doc) public static AffineTransform getScaleInstance(double sx, double sy)(Code)(Java Doc) public double getScaleX()(Code)(Java Doc) public double getScaleY()(Code)(Java Doc) public static AffineTransform getShearInstance(double shx, double shy)(Code)(Java Doc) public double getShearX()(Code)(Java Doc) public double getShearY()(Code)(Java Doc) public static AffineTransform getTranslateInstance(double tx, double ty)(Code)(Java Doc) public double getTranslateX()(Code)(Java Doc) public double getTranslateY()(Code)(Java Doc) public int getType()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public Point2D inverseTransform(Point2D ptSrc, Point2D ptDst) throws NoninvertibleTransformException(Code)(Java Doc) public void inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws NoninvertibleTransformException(Code)(Java Doc) public void invert() throws NoninvertibleTransformException(Code)(Java Doc) public boolean isIdentity()(Code)(Java Doc) public void preConcatenate(AffineTransform Tx)(Code)(Java Doc) public void quadrantRotate(int numquadrants)(Code)(Java Doc) public void quadrantRotate(int numquadrants, double anchorx, double anchory)(Code)(Java Doc) public void rotate(double theta)(Code)(Java Doc) public void rotate(double theta, double anchorx, double anchory)(Code)(Java Doc) public void rotate(double vecx, double vecy)(Code)(Java Doc) public void rotate(double vecx, double vecy, double anchorx, double anchory)(Code)(Java Doc) public void scale(double sx, double sy)(Code)(Java Doc) public void setToIdentity()(Code)(Java Doc) public void setToQuadrantRotation(int numquadrants)(Code)(Java Doc) public void setToQuadrantRotation(int numquadrants, double anchorx, double anchory)(Code)(Java Doc) public void setToRotation(double theta)(Code)(Java Doc) public void setToRotation(double theta, double anchorx, double anchory)(Code)(Java Doc) public void setToRotation(double vecx, double vecy)(Code)(Java Doc) public void setToRotation(double vecx, double vecy, double anchorx, double anchory)(Code)(Java Doc) public void setToScale(double sx, double sy)(Code)(Java Doc) public void setToShear(double shx, double shy)(Code)(Java Doc) public void setToTranslation(double tx, double ty)(Code)(Java Doc) public void setTransform(AffineTransform Tx)(Code)(Java Doc) public void setTransform(double m00, double m10, double m01, double m11, double m02, double m12)(Code)(Java Doc) public void shear(double shx, double shy)(Code)(Java Doc) public String toString()(Code)(Java Doc) public Point2D transform(Point2D ptSrc, Point2D ptDst)(Code)(Java Doc) public void transform(Point2D[] ptSrc, int srcOff, Point2D[] ptDst, int dstOff, int numPts)(Code)(Java Doc) public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code)(Java Doc) public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code)(Java Doc) public void transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)(Code)(Java Doc) public void transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)(Code)(Java Doc) public void translate(double tx, double ty)(Code)(Java Doc)
|
|
|