opale.m2d.ker
Class AffineTransform2D

java.lang.Object
  |
  +--java.awt.geom.AffineTransform
        |
        +--opale.m2d.ker.AffineTransform2D
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class AffineTransform2D
extends java.awt.geom.AffineTransform

This class extends java.awt.geom.AffineTransform and represents a 2D affine transform.

Since:
Opale-2d 0.12
Version:
0.1
See Also:
java.awt.geom.AffineTransform, Serialized Form

Fields inherited from class java.awt.geom.AffineTransform
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
 
Constructor Summary
AffineTransform2D()
           
 
Method Summary
 void transform(double[] srcX, double[] srcY, double[] dstX, double[] dstY, int numPts)
          Transforms arrays of double precision which represents coordinates by this transform.
 
Methods inherited from class java.awt.geom.AffineTransform
clone, concatenate, createInverse, createTransformedShape, deltaTransform, deltaTransform, equals, getDeterminant, getMatrix, getRotateInstance, getRotateInstance, getScaleInstance, getScaleX, getScaleY, getShearInstance, getShearX, getShearY, getTranslateInstance, getTranslateX, getTranslateY, getType, hashCode, inverseTransform, inverseTransform, isIdentity, preConcatenate, rotate, rotate, scale, setToIdentity, setToRotation, setToRotation, setToScale, setToShear, setToTranslation, setTransform, setTransform, shear, toString, transform, transform, transform, transform, transform, transform, translate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AffineTransform2D

public AffineTransform2D()
Method Detail

transform

public void transform(double[] srcX,
                      double[] srcY,
                      double[] dstX,
                      double[] dstY,
                      int numPts)
Transforms arrays of double precision which represents coordinates by this transform. The coordinates are stored in two differents arrays starting at zero.
Parameters:
srcX - the array containing the source point coordinates X.
srcY - the array containing the source point coordinates Y.
dstX - the array into which the transformed point coordinates X are returned.
dstY - the array into which the transformed point coordinates Y are returned.
numPts - the number of point objects to be transformed