Package org.jzy3d.maths
Class Scale
java.lang.Object
org.jzy3d.maths.Scale
- Direct Known Subclasses:
Range
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(float value) clone()
boolean
contains
(float value) static Scale
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
toString()
boolean
valid()
static Scale
-
Field Details
-
min
protected float min -
max
protected float max
-
-
Constructor Details
-
Scale
public Scale(float min, float max) -
Scale
public Scale(double min, double max)
-
-
Method Details
-
clone
-
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
-
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() -
widest
-
thinest
-
enlarge
-
enlargeSelf
public void enlargeSelf(double ratio) -
toString
-