Package org.jzy3d.maths
Class Scale
java.lang.Object
org.jzy3d.maths.Scale
- Direct Known Subclasses:
Range
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(float value) clone()booleancontains(float value) static ScalevoidenlargeSelf(double ratio) floatgetMax()floatgetMin()floatgetRange()booleanisIn(float value) booleanisIn(float value, boolean includingMin, boolean includingMax) booleanisMaxNan()booleanisMinNan()voidsetMax(float max) voidsetMin(float min) static ScaletoString()booleanvalid()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
-