public class Affine extends AffineBase
  • Constructor Details

    • Affine

      public Affine()
    • Affine

      public Affine(BaseTransform Tx)
    • Affine

      public Affine(double mxx, double myx, double mxy, double myy, double mxt, double myt)
  • Method Details

    • getDegree

      public BaseTransform.Degree getDegree()
      Specified by:
      getDegree in class BaseTransform
    • rotate

      public void rotate(double theta, double anchorx, double anchory)
    • rotate

      public void rotate(double vecx, double vecy)
    • rotate

      public void rotate(double vecx, double vecy, double anchorx, double anchory)
    • quadrantRotate

      public void quadrantRotate(int numquadrants)
    • quadrantRotate

      public void quadrantRotate(int numquadrants, double anchorx, double anchory)
    • setToTranslation

      public void setToTranslation(double tx, double ty)
    • setToRotation

      public void setToRotation(double theta)
    • setToRotation

      public void setToRotation(double theta, double anchorx, double anchory)
    • setToRotation

      public void setToRotation(double vecx, double vecy)
    • setToRotation

      public void setToRotation(double vecx, double vecy, double anchorx, double anchory)
    • setToQuadrantRotation

      public void setToQuadrantRotation(int numquadrants)
    • setToQuadrantRotation

      public void setToQuadrantRotation(int numquadrants, double anchorx, double anchory)
    • setToScale

      public void setToScale(double sx, double sy)
    • setTransform

      public void setTransform(BaseTransform Tx)
      Specified by:
      setTransform in class BaseTransform
    • preConcatenate

      public void preConcatenate(BaseTransform Tx)
    • createInverse

      public Affine createInverse() throws NonInvertibleTransformException
      Specified by:
      createInverse in class BaseTransform
      Throws:
      NonInvertibleTransformException
    • transform

      public void transform(eu.hansolo.toolboxfx.geom.Point[] ptSrc, int srcOff, eu.hansolo.toolboxfx.geom.Point[] ptDst, int dstOff, int numPts)
    • deltaTransform

      public eu.hansolo.toolboxfx.geom.Point deltaTransform(eu.hansolo.toolboxfx.geom.Point ptSrc, eu.hansolo.toolboxfx.geom.Point ptDst)
    • restoreTransform

      public void restoreTransform(double mxx, double myx, double mxy, double myy, double mxt, double myt)
      Specified by:
      restoreTransform in class BaseTransform
    • restoreTransform

      public 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)
      Specified by:
      restoreTransform in class BaseTransform
    • deriveWithTranslation

      public BaseTransform deriveWithTranslation(double mxt, double myt)
      Specified by:
      deriveWithTranslation in class BaseTransform
    • deriveWithPreTranslation

      public BaseTransform deriveWithPreTranslation(double mxt, double myt)
      Specified by:
      deriveWithPreTranslation in class BaseTransform
    • deriveWithConcatenation

      public BaseTransform deriveWithConcatenation(double mxx, double myx, double mxy, double myy, double mxt, double myt)
      Specified by:
      deriveWithConcatenation in class BaseTransform
    • deriveWithConcatenation

      public BaseTransform deriveWithConcatenation(BaseTransform tx)
      Specified by:
      deriveWithConcatenation in class BaseTransform
    • deriveWithPreConcatenation

      public BaseTransform deriveWithPreConcatenation(BaseTransform tx)
      Specified by:
      deriveWithPreConcatenation in class BaseTransform
    • deriveWithNewTransform

      public BaseTransform deriveWithNewTransform(BaseTransform tx)
      Specified by:
      deriveWithNewTransform in class BaseTransform
    • copy

      public BaseTransform copy()
      Specified by:
      copy in class BaseTransform
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class BaseTransform