public static class JViewer.AccelerationFunctionExp extends Object
JViewer.AccelerationFunctionExp
class implements the following function in
[0:ZERO_AT
]:
Two methods are provided:
of(double)
: computes the function;inverseOf(double)
: computes the inverse of the function.Modifier and Type | Field and Description |
---|---|
protected static double |
decreaseSpeed |
protected static double |
shift |
protected static double |
unShiftedValueAtZero |
static double |
VALUE_AT_ZERO
The exact value of the function at abscissa 0.
|
static double |
ZERO_AT
The exact abscissa at which the function reaches 0.
|
static double |
ZERO_AT_APPROX_FOR_DOC |
Constructor and Description |
---|
AccelerationFunctionExp() |
Modifier and Type | Method and Description |
---|---|
static double |
inverseOf(double y)
Inverts the acceleration function for the provided value.
|
static double |
of(double x)
Computes a value of the acceleration function associated with the provided parameter.
|
protected static final double unShiftedValueAtZero
protected static final double decreaseSpeed
protected static final double shift
public static final double VALUE_AT_ZERO
public static final double ZERO_AT
public static final double ZERO_AT_APPROX_FOR_DOC
public static double of(double x)
Computes a value of the acceleration function associated with the provided parameter.
Currently, the associated descending function is defined on [0:2126.82249] with the following remarkable points:
x
- a double in [0:ZERO_AT
].public static double inverseOf(double y)
Inverts the acceleration function for the provided value.
Currently, the associated ascending function is defined on [0:3000.0] with the following remarkable points:
y
- a double in [0:3000.0].