org.omegahat.Graphics.Primitives
Interface ScaleInt

All Known Implementing Classes:
Scale

public interface ScaleInt

Interface abstraction of the Scale class providing a mapping into a coordinate system.


Method Summary
 double max()
          Retrieve the maximum of this scale.
 double max(double val)
          Set the maximum of this scale.
 double min()
          Retrieve the minimum of this scale.
 double min(double val)
          Set the minimum of this scale.
 AxisRangeInt pretty(int numTicks)
           
 ScaleInt reScale(double[] range)
           
 double transformDimension(double value)
           
 double transformLocation(double value)
          Map the specified value as a location into this scale's coordinate system.
 double transformToNative(double value)
           
 

Method Detail

transformLocation

public double transformLocation(double value)
Map the specified value as a location into this scale's coordinate system.

transformDimension

public double transformDimension(double value)

transformToNative

public double transformToNative(double value)

max

public double max()
Retrieve the maximum of this scale.

max

public double max(double val)
Set the maximum of this scale.

min

public double min()
Retrieve the minimum of this scale.

min

public double min(double val)
Set the minimum of this scale.

pretty

public AxisRangeInt pretty(int numTicks)

reScale

public ScaleInt reScale(double[] range)