com.jidesoft.transform
Class SimpleOneDScreenTransform
java.lang.Object
com.jidesoft.transform.AbstractMutableOneDScreenTransform
com.jidesoft.transform.SimpleOneDScreenTransform
- All Implemented Interfaces:
- MutableOneDScreenTransform, OneDScreenTransform
public class SimpleOneDScreenTransform
- extends AbstractMutableOneDScreenTransform
Default implementation of a OneDScreenTransform.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleOneDScreenTransform
public SimpleOneDScreenTransform(BoundedInterval world,
int screenSize)
SimpleOneDScreenTransform
public SimpleOneDScreenTransform(BoundedInterval world,
int screenSize,
boolean invertDeviceCoordinates,
boolean invertWorldCoordinates)
screenToWorld
public double screenToWorld(int screen)
worldToScreen
public int worldToScreen(double world)
worldToScreenPrecise
public double worldToScreenPrecise(double world)
getWorldInterval
public Interval getWorldInterval()
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)