Modifier and Type | Field and Description |
---|---|
protected float |
max |
protected float |
min |
Constructor and Description |
---|
Scale(double min,
double max) |
Scale(float min,
float max) |
Modifier and Type | Method and 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) |
public Scale(float min, float max)
public Scale(double min, double max)
public float getMin()
public float getMax()
public float getRange()
public void setMin(float min)
public void setMax(float max)
public Scale add(float value)
public boolean contains(float value)
public boolean isMaxNan()
public boolean isMinNan()
public boolean isIn(float value)
public boolean isIn(float value, boolean includingMin, boolean includingMax)
public boolean valid()
public void enlargeSelf(double ratio)
Copyright © 2016. All rights reserved.