Package org.jzy3d.maths
Class Scale
- java.lang.Object
-
- org.jzy3d.maths.Scale
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Scale
add(float value)
Scale
clone()
boolean
contains(float value)
static Scale
enlarge(Scale input, float ratio)
void
enlargeSelf(double ratio)
float
getMax()
float
getMin()
float
getRange()
boolean
isIn(float value)
boolean
isIn(float value, boolean includingMin, boolean includingMax)
boolean
isMaxNan()
boolean
isMinNan()
void
setMax(float max)
void
setMin(float min)
static Scale
thinest(Scale scale1, Scale scale2)
String
toString()
boolean
valid()
static Scale
widest(Scale scale1, Scale scale2)
-
-
-
Method Detail
-
getMin
public float getMin()
-
getMax
public float getMax()
-
getRange
public float getRange()
-
setMin
public void setMin(float min)
-
setMax
public void setMax(float max)
-
add
public Scale add(float value)
-
contains
public boolean contains(float value)
-
isMaxNan
public boolean isMaxNan()
-
isMinNan
public boolean isMinNan()
-
isIn
public boolean isIn(float value)
-
isIn
public boolean isIn(float value, boolean includingMin, boolean includingMax)
-
valid
public boolean valid()
-
enlargeSelf
public void enlargeSelf(double ratio)
-
-