Class ScaleTranslateRotate2D


  • public class ScaleTranslateRotate2D
    extends java.lang.Object
    Motion model for scale, translation, and rotation: (x',y') = (x,y)*R*scale + (tranX , tranY) R is rotation matrix.
    • Field Detail

      • scale

        public double scale
        Scaling
      • transX

        public double transX
        Translation along x and y axis
      • transY

        public double transY
        Translation along x and y axis
      • theta

        public double theta
        Angle of rotation
    • Constructor Detail

      • ScaleTranslateRotate2D

        public ScaleTranslateRotate2D​(double theta,
                                      double scale,
                                      double transX,
                                      double transY)
      • ScaleTranslateRotate2D

        public ScaleTranslateRotate2D()
    • Method Detail

      • getTheta

        public double getTheta()
      • setTheta

        public void setTheta​(double theta)
      • getScale

        public double getScale()
      • setScale

        public void setScale​(double scale)
      • getTransX

        public double getTransX()
      • setTransX

        public void setTransX​(double transX)
      • getTransY

        public double getTransY()
      • setTransY

        public void setTransY​(double transY)