| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final double | |
| public static final BaseTransform | |
| public static final int | |
| public static final int | |
| public static final int | TYPE_FLIP
This flag bit indicates that the transform defined by this object performs a mirror image flip about some axis which changes the normally right handed coordinate system into a left handed system in addition to the conversions indicated by other flag bits. |
| public static final int | TYPE_GENERAL_ROTATION
This flag bit indicates that the transform defined by this object performs a rotation by an arbitrary angle in addition to the conversions indicated by other flag bits. |
| public static final int | TYPE_GENERAL_SCALE
This flag bit indicates that the transform defined by this object performs a general scale in addition to the conversions indicated by other flag bits. |
| public static final int | TYPE_GENERAL_TRANSFORM
This constant indicates that the transform defined by this object performs an arbitrary conversion of the input coordinates. |
| public static final int | TYPE_IDENTITY
This constant indicates that the transform defined by this object is an identity transform. |
| public static final int | TYPE_MASK_ROTATION
This constant is a bit mask for any of the rotation flag bits. |
| public static final int | TYPE_MASK_SCALE
This constant is a bit mask for any of the scale flag bits. |
| public static final int | TYPE_QUADRANT_ROTATION
This flag bit indicates that the transform defined by this object performs a quadrant rotation by some multiple of 90 degrees in addition to the conversions indicated by other flag bits. |
| public static final int | TYPE_TRANSLATION
This flag bit indicates that the transform defined by this object performs a translation in addition to the conversions indicated by other flag bits. |
| public static final int | TYPE_UNIFORM_SCALE
This flag bit indicates that the transform defined by this object performs a uniform scale in addition to the conversions indicated by other flag bits. |
| protected static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| public abstract BaseTransform | |
| public abstract BaseTransform | Returns: a new transform representing the inverse of this transform.This function always returns a new object, unless the transform
is an identity transform in which case it might return the
|
| public abstract Shape | |
| pack-priv static void | |
| public abstract Vec3d | |
| public abstract void | |
| public abstract void | |
| public abstract BaseTransform | |
| public abstract BaseTransform | deriveWithConcatenation(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt)
|
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public abstract BaseTransform | |
| public boolean | Returns: true if obj equals this
BaseTransform object; false otherwise.the obj)Object to test for equality with this
BaseTransformOverrides java. Returns |
| public abstract BaseTransform. | |
| public abstract double | |
| public static BaseTransform | |
| public static BaseTransform | getInstance(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt)
|
| public static BaseTransform | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public static BaseTransform | |
| public static BaseTransform | |
| public static BaseTransform | |
| public abstract int | Returns: the OR combination of any of the indicated flags that apply to this transformRetrieves the flag bits describing the conversion properties of this transform. |
| public int | Returns: a hash code for this transform.Overrides java. Returns the hashcode for this transform. |
| public abstract Vec3d | |
| public abstract void | |
| public abstract Point2D | |
| public abstract Vec3d | |
| public abstract void | |
| public abstract void | |
| public abstract BaseBounds | |
| public abstract void | |
| public abstract void | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean | |
| pack-priv static Point2D | |
| public abstract void | restoreTransform(double mxx, double myx, double mxy, double myy, double mxt, double myt)
This function is only guaranteed to succeed if the transform is of degree AFFINE2D or less and the matrix parameters specified came from this same instance. |
| public abstract void | restoreTransform(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt)
This function is only guaranteed to succeed if the matrix parameters specified came from this same instance. |
| public abstract void | |
| public abstract void | |
| public String | Returns: the matrix elements and degree of this transformOverrides java. Returns the matrix elements and degree of this transform as a string. |
| public abstract Point2D | |
| public abstract Vec3d | transform(Vec3d src, Vec3d dst)
Redeclares com.
|
| public abstract void | |
| public abstract void | |
| public abstract void | |
| public abstract void | |
| public abstract BaseBounds | |
| public abstract void |
| EPSILON_ABSOLUTE | back to summary |
|---|---|
| pack-priv static final double EPSILON_ABSOLUTE | |
| IDENTITY_TRANSFORM | back to summary |
|---|---|
| public static final BaseTransform IDENTITY_TRANSFORM | |
| TYPE_AFFINE2D_MASK | back to summary |
|---|---|
| public static final int TYPE_AFFINE2D_MASK | |
| TYPE_AFFINE_3D | back to summary |
|---|---|
| public static final int TYPE_AFFINE_3D | |
| TYPE_FLIP | back to summary |
|---|---|
| public static final int TYPE_FLIP This flag bit indicates that the transform defined by this object performs a mirror image flip about some axis which changes the normally right handed coordinate system into a left handed system in addition to the conversions indicated by other flag bits. A right handed coordinate system is one where the positive X axis rotates counterclockwise to overlay the positive Y axis similar to the direction that the fingers on your right hand curl when you stare end on at your thumb. A left handed coordinate system is one where the positive X axis rotates clockwise to overlay the positive Y axis similar to the direction that the fingers on your left hand curl. There is no mathematical way to determine the angle of the original flipping or mirroring transformation since all angles of flip are identical given an appropriate adjusting rotation. | |
| TYPE_GENERAL_ROTATION | back to summary |
|---|---|
| public static final int TYPE_GENERAL_ROTATION This flag bit indicates that the transform defined by this object performs a rotation by an arbitrary angle in addition to the conversions indicated by other flag bits. A rotation changes the angles of vectors by the same amount regardless of the original direction of the vector and without changing the length of the vector. This flag bit is mutually exclusive with the TYPE_QUADRANT_ROTATION flag. | |
| TYPE_GENERAL_SCALE | back to summary |
|---|---|
| public static final int TYPE_GENERAL_SCALE This flag bit indicates that the transform defined by this object performs a general scale in addition to the conversions indicated by other flag bits. A general scale multiplies the length of vectors by different amounts in the x and y directions without changing the angle between perpendicular vectors. This flag bit is mutually exclusive with the TYPE_UNIFORM_SCALE flag. | |
| TYPE_GENERAL_TRANSFORM | back to summary |
|---|---|
| public static final int TYPE_GENERAL_TRANSFORM This constant indicates that the transform defined by this object performs an arbitrary conversion of the input coordinates. If this transform can be classified by any of the above constants, the type will either be the constant TYPE_IDENTITY or a combination of the appropriate flag bits for the various coordinate conversions that this transform performs. | |
| TYPE_IDENTITY | back to summary |
|---|---|
| public static final int TYPE_IDENTITY This constant indicates that the transform defined by this object is an identity transform. An identity transform is one in which the output coordinates are always the same as the input coordinates. If this transform is anything other than the identity transform, the type will either be the constant GENERAL_TRANSFORM or a combination of the appropriate flag bits for the various coordinate conversions that this transform performs. | |
| TYPE_MASK_ROTATION | back to summary |
|---|---|
| public static final int TYPE_MASK_ROTATION This constant is a bit mask for any of the rotation flag bits.
| |
| TYPE_MASK_SCALE | back to summary |
|---|---|
| public static final int TYPE_MASK_SCALE This constant is a bit mask for any of the scale flag bits.
| |
| TYPE_QUADRANT_ROTATION | back to summary |
|---|---|
| public static final int TYPE_QUADRANT_ROTATION This flag bit indicates that the transform defined by this object performs a quadrant rotation by some multiple of 90 degrees in addition to the conversions indicated by other flag bits. A rotation changes the angles of vectors by the same amount regardless of the original direction of the vector and without changing the length of the vector. This flag bit is mutually exclusive with the TYPE_GENERAL_ROTATION flag. | |
| TYPE_TRANSLATION | back to summary |
|---|---|
| public static final int TYPE_TRANSLATION This flag bit indicates that the transform defined by this object performs a translation in addition to the conversions indicated by other flag bits. A translation moves the coordinates by a constant amount in x and y without changing the length or angle of vectors. | |
| TYPE_UNIFORM_SCALE | back to summary |
|---|---|
| public static final int TYPE_UNIFORM_SCALE This flag bit indicates that the transform defined by this object performs a uniform scale in addition to the conversions indicated by other flag bits. A uniform scale multiplies the length of vectors by the same amount in both the x and y directions without changing the angle between vectors. This flag bit is mutually exclusive with the TYPE_GENERAL_SCALE flag. | |
| TYPE_UNKNOWN | back to summary |
|---|---|
| protected static final int TYPE_UNKNOWN | |
| BaseTransform | back to summary |
|---|---|
| public BaseTransform() | |
| almostZero | back to summary |
|---|---|
| public static boolean almostZero(double a) | |
| copy | back to summary |
|---|---|
| public abstract BaseTransform copy() | |
| createInverse | back to summary |
|---|---|
| public abstract BaseTransform createInverse() throws NoninvertibleTransformException This function always returns a new object, unless the transform
is an identity transform in which case it might return the
| |
| createTransformedShape | back to summary |
|---|---|
| public abstract Shape createTransformedShape(Shape s) | |
| degreeError | back to summary |
|---|---|
| pack-priv static void degreeError(BaseTransform. | |
| deltaTransform | back to summary |
|---|---|
| public abstract Vec3d deltaTransform(Vec3d src, Vec3d dst) | |
| deltaTransform | back to summary |
|---|---|
| public abstract void deltaTransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) | |
| deltaTransform | back to summary |
|---|---|
| public abstract void deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) | |
| deriveWithConcatenation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithConcatenation(double mxx, double myx, double mxy, double myy, double mxt, double myt) | |
| deriveWithConcatenation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithConcatenation(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt) | |
| deriveWithConcatenation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithConcatenation(BaseTransform tx) | |
| deriveWithNewTransform | back to summary |
|---|---|
| public abstract BaseTransform deriveWithNewTransform(BaseTransform tx) | |
| deriveWithPreConcatenation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithPreConcatenation(BaseTransform transform) | |
| deriveWithPreTranslation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithPreTranslation(double mxt, double myt) | |
| deriveWithRotation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithRotation(double theta, double axisX, double axisY, double axisZ) | |
| deriveWithScale | back to summary |
|---|---|
| public abstract BaseTransform deriveWithScale(double mxx, double myy, double mzz) | |
| deriveWithTranslation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithTranslation(double mxt, double myt) | |
| deriveWithTranslation | back to summary |
|---|---|
| public abstract BaseTransform deriveWithTranslation(double mxt, double myt, double mzt) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Returns | |
| getDegree | back to summary |
|---|---|
| public abstract BaseTransform. | |
| getDeterminant | back to summary |
|---|---|
| public abstract double getDeterminant() | |
| getInstance | back to summary |
|---|---|
| public static BaseTransform getInstance(BaseTransform tx) | |
| getInstance | back to summary |
|---|---|
| public static BaseTransform getInstance(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt) | |
| getInstance | back to summary |
|---|---|
| public static BaseTransform getInstance(double mxx, double myx, double mxy, double myy, double mxt, double myt) | |
| getMxt | back to summary |
|---|---|
| public double getMxt() | |
| getMxx | back to summary |
|---|---|
| public double getMxx() | |
| getMxy | back to summary |
|---|---|
| public double getMxy() | |
| getMxz | back to summary |
|---|---|
| public double getMxz() | |
| getMyt | back to summary |
|---|---|
| public double getMyt() | |
| getMyx | back to summary |
|---|---|
| public double getMyx() | |
| getMyy | back to summary |
|---|---|
| public double getMyy() | |
| getMyz | back to summary |
|---|---|
| public double getMyz() | |
| getMzt | back to summary |
|---|---|
| public double getMzt() | |
| getMzx | back to summary |
|---|---|
| public double getMzx() | |
| getMzy | back to summary |
|---|---|
| public double getMzy() | |
| getMzz | back to summary |
|---|---|
| public double getMzz() | |
| getRotateInstance | back to summary |
|---|---|
| public static BaseTransform getRotateInstance(double theta, double x, double y) | |
| getScaleInstance | back to summary |
|---|---|
| public static BaseTransform getScaleInstance(double mxx, double myy) | |
| getTranslateInstance | back to summary |
|---|---|
| public static BaseTransform getTranslateInstance(double mxt, double myt) | |
| getType | back to summary |
|---|---|
| public abstract int getType() Retrieves the flag bits describing the conversion properties of this transform. The return value is either one of the constants TYPE_IDENTITY or TYPE_GENERAL_TRANSFORM, or a combination of the appriopriate flag bits. A valid combination of flag bits is an exclusive OR operation that can combine the TYPE_TRANSLATION flag bit in addition to either of the TYPE_UNIFORM_SCALE or TYPE_GENERAL_SCALE flag bits as well as either of the TYPE_QUADRANT_ROTATION or TYPE_GENERAL_ROTATION flag bits.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hashcode for this transform.
| |
| inverseDeltaTransform | back to summary |
|---|---|
| public abstract Vec3d inverseDeltaTransform(Vec3d src, Vec3d dst) throws NoninvertibleTransformException | |
| inverseDeltaTransform | back to summary |
|---|---|
| public abstract void inverseDeltaTransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract Point2D inverseTransform(Point2D src, Point2D dst) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract Vec3d inverseTransform(Vec3d src, Vec3d dst) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract void inverseTransform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract void inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract BaseBounds inverseTransform(BaseBounds bounds, BaseBounds result) throws NoninvertibleTransformException | |
| inverseTransform | back to summary |
|---|---|
| public abstract void inverseTransform(Rectangle rect, Rectangle result) throws NoninvertibleTransformException | |
| invert | back to summary |
|---|---|
| public abstract void invert() throws NoninvertibleTransformException This function inverts the | |
| is2D | back to summary |
|---|---|
| public abstract boolean is2D() | |
| isIdentity | back to summary |
|---|---|
| public abstract boolean isIdentity() | |
| isTranslateOrIdentity | back to summary |
|---|---|
| public abstract boolean isTranslateOrIdentity() | |
| makePoint | back to summary |
|---|---|
| pack-priv static Point2D makePoint(Point2D src, Point2D dst) | |
| restoreTransform | back to summary |
|---|---|
| public abstract void restoreTransform(double mxx, double myx, double mxy, double myy, double mxt, double myt) This function is only guaranteed to succeed if the transform is of degree AFFINE2D or less and the matrix parameters specified came from this same instance. In practice, they will also tend to succeed if they specify a transform of Degree less than or equal to the Degree of this instance as well, but the intent of this method is to restore the transform that had been read out of this transform into local variables. | |
| restoreTransform | back to summary |
|---|---|
| public abstract void restoreTransform(double mxx, double mxy, double mxz, double mxt, double myx, double myy, double myz, double myt, double mzx, double mzy, double mzz, double mzt) This function is only guaranteed to succeed if the matrix parameters specified came from this same instance. In practice, they will also tend to succeed if they specify a transform of Degree less than or equal to the Degree of this instance as well, but the intent of this method is to restore the transform that had been read out of this transform into local variables. | |
| setToIdentity | back to summary |
|---|---|
| public abstract void setToIdentity() | |
| setTransform | back to summary |
|---|---|
| public abstract void setTransform(BaseTransform xform) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the matrix elements and degree of this transform as a string. | |
| transform | back to summary |
|---|---|
| public abstract Point2D transform(Point2D src, Point2D dst) | |
| transform | back to summary |
|---|---|
| public abstract Vec3d transform(Vec3d src, Vec3d dst) Redeclares com.
| |
| transform | back to summary |
|---|---|
| public abstract void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) | |
| transform | back to summary |
|---|---|
| public abstract void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) | |
| transform | back to summary |
|---|---|
| public abstract void transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) | |
| transform | back to summary |
|---|---|
| public abstract void transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) | |
| transform | back to summary |
|---|---|
| public abstract BaseBounds transform(BaseBounds bounds, BaseBounds result) | |
| transform | back to summary |
|---|---|
| public abstract void transform(Rectangle rect, Rectangle result) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BaseTransform. | |
| public static final BaseTransform. | |
| public static final BaseTransform. | |
| public static final BaseTransform. | |
| public static final BaseTransform. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BaseTransform. | |
| public static BaseTransform. |
| AFFINE_2D | back to summary |
|---|---|
| public static final BaseTransform. | |
| AFFINE_3D | back to summary |
|---|---|
| public static final BaseTransform. | |
| IDENTITY | back to summary |
|---|---|
| public static final BaseTransform. | |
| TRANSLATE_2D | back to summary |
|---|---|
| public static final BaseTransform. | |
| TRANSLATE_3D | back to summary |
|---|---|
| public static final BaseTransform. | |
| Degree | back to summary |
|---|---|
| private Degree() | |
| valueOf | back to summary |
|---|---|
| public static BaseTransform. | |
| values | back to summary |
|---|---|
| public static BaseTransform. | |