Class ComplexOneDScreenTransform

    • Constructor Detail

      • ComplexOneDScreenTransform

        public ComplexOneDScreenTransform​(BoundedInterval world,
                                          int x1,
                                          int x2)
      • ComplexOneDScreenTransform

        public ComplexOneDScreenTransform​(BoundedInterval world,
                                          int screenSize)
      • ComplexOneDScreenTransform

        public ComplexOneDScreenTransform​(BoundedInterval world,
                                          int screenSize,
                                          boolean invertDeviceCoordinates,
                                          boolean invertWorldCoordinates)
      • ComplexOneDScreenTransform

        public ComplexOneDScreenTransform​(BoundedInterval world,
                                          int x1,
                                          int x2,
                                          boolean invertDeviceCoordinates,
                                          boolean invertWorldCoordinates)
    • Method Detail

      • screenToWorld

        public double screenToWorld​(int screen)
      • worldToScreen

        public int worldToScreen​(double world)
      • worldToScreenPrecise

        public double worldToScreenPrecise​(double world)
      • getWorldInterval

        public Interval getWorldInterval()
      • setWorldInterval

        public void setWorldInterval​(BoundedInterval world)
      • getScreenSize

        public int getScreenSize()
      • isAffine

        public boolean isAffine()
      • getWorldMin

        public double getWorldMin()
      • getWorldMax

        public double getWorldMax()
      • getWorldRange

        public double getWorldRange()
      • isWorldCoordinatesInverted

        public boolean isWorldCoordinatesInverted()
      • setScreenSize

        public void setScreenSize​(int screenSize)
      • setScreenMargins

        public void setScreenMargins​(int screenMargins)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object