Class Curve.ControlPoint

java.lang.Object
org.spongepowered.noise.module.modifier.Curve.ControlPoint
Enclosing class:
Curve

public static final class Curve.ControlPoint extends Object
A control point for defining splines.
  • 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.