public class Stepinizer implements Function, Double>, Double2DoubleFunction
Class Stepinizer. Provides stepinizer functionality for the Hytale server.
java.lang.Object > Stepinizer
Field Summary
stepSize
private
double
stepSize
Field stepSize.
stepSizeHalf
private
double
stepSizeHalf
Field stepSizeHalf.
slope
private
double
slope
Field slope.
topSmooth
private
double
topSmooth
Field topSmooth.
bottomSmooth
private
double
bottomSmooth
Field bottomSmooth.
polarity
final
double
polarity
Field polarity.
steepness
final
double
steepness
Field steepness.
bottomStep
final
double
bottomStep
Field bottomStep.
topStep
final
double
topStep
Field topStep.
remainder
final
double
remainder
Field remainder.
midPoint
final
double
midPoint
Field midPoint.
Method Detail
Stepinizer
public
public
Stepinizer
()
Method Stepinizer.
setSmooth
Method setSmooth.
- Parameters:
final doubletopfinal doublebottom
setEdgeSlope
Method setEdgeSlope.
- Parameters:
final doubleslope
apply
public
double
apply
(final double x)
Method apply.
- Parameters:
final doublex
get
public
double
get
(final double x)
Method get.
- Parameters:
final doublex
closestStep
private
double
closestStep
(final double x)
Method closestStep.
- Parameters:
final doublex
topStep
private
double
topStep
(final double x)
Method topStep.
- Parameters:
final doublex
bottomStep
private
double
bottomStep
(final double x)
Method bottomStep.
- Parameters:
final doublex
polarity
private
double
polarity
(final double x)
Method polarity.
- Parameters:
final doublex
steepness
private
double
steepness
(final double x)
Method steepness.
- Parameters:
final doublex