public static class BoundedParameter.Range extends Object
Modifier and Type | Field and Description |
---|---|
double |
max |
double |
min |
double |
range |
double |
v0 |
double |
v1 |
double |
vRange |
Constructor and Description |
---|
Range(double v0,
double v1) |
Modifier and Type | Method and Description |
---|---|
double |
constrain(double value) |
double |
getNormalized(double value) |
double |
getNormalized(double value,
double exponent) |
double |
normalizedToValue(double normalized) |
double |
normalizedToValue(double normalized,
double exponent) |
public final double v0
public final double v1
public final double min
public final double max
public final double vRange
public final double range
public double constrain(double value)
public double getNormalized(double value)
public double getNormalized(double value, double exponent)
public double normalizedToValue(double normalized)
public double normalizedToValue(double normalized, double exponent)
LX library by Mark C. Slee. © 2012-2020