Class AffineToGeometric


  • public class AffineToGeometric
    extends Object
    Helper class for converting values from affine transformation matrix to its geometric form. Development carried out thanks to R&D grant DC08P02OUK006 - Old Maps Online (www.oldmapsonline.org) from Ministry of Culture of the Czech Republic
    Author:
    jezekjan
    • Constructor Detail

      • AffineToGeometric

        public AffineToGeometric​(AffineTransform2D trans)
        Constructs AffineToGeometric from AffineTransform2D
        Parameters:
        trans - Affine transformation from which we want to get geometric coefficients.
    • Method Detail

      • getXScale

        public double getXScale()
        Returns Scale in x direction
        Returns:
        scale in x direction
      • getYScale

        public double getYScale()
        Returns Scale in y direction
        Returns:
        scale in y direction
      • getSkew

        public double getSkew()
        Returns skew
        Returns:
        skew
      • getXTranslate

        public double getXTranslate()
        Returns translation in x direction
        Returns:
        translation in x direction
      • getYTranslate

        public double getYTranslate()
        Returns translation in y direction
        Returns:
        translation in y direction
      • getXRotation

        public double getXRotation()
        Returns rotation in radians
        Returns:
        rotation in radians
      • getYRotation

        public double getYRotation()