org.jzy3d.maths
Class Scale
java.lang.Object
org.jzy3d.maths.Scale
- Direct Known Subclasses:
- Range
public class Scale
- extends java.lang.Object
Constructor Summary |
Scale(double min,
double max)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Scale
public Scale(double min,
double max)
clone
public Scale clone()
- Overrides:
clone
in class java.lang.Object
getMin
public double getMin()
getMax
public double getMax()
getRange
public double getRange()
setMin
public void setMin(double min)
setMax
public void setMax(double max)
add
public Scale add(double value)
contains
public boolean contains(double value)
isMaxNan
public boolean isMaxNan()
isMinNan
public boolean isMinNan()
valid
public boolean valid()
widest
public static Scale widest(Scale scale1,
Scale scale2)
thinest
public static Scale thinest(Scale scale1,
Scale scale2)
enlarge
public static Scale enlarge(Scale input,
double ratio)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object