Module org.spongepowered.noise
Class Curve.ControlPoint
java.lang.Object
org.spongepowered.noise.module.modifier.Curve.ControlPoint
- Enclosing class:
- Curve
A control point for defining splines.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the input value.doubleGet the output value mapped from the input value.
-
Constructor Details
-
ControlPoint
public ControlPoint(double inputValue, double outputValue)
-
-
Method Details
-
inputValue
public double inputValue()Get the input value.- Returns:
- the input value
-
outputValue
public double outputValue()Get the output value mapped from the input value.- Returns:
- the output value mapped from the input value.
-