Class BoundedParameter.Range

java.lang.Object
heronarts.lx.parameter.BoundedParameter.Range
Enclosing class:
BoundedParameter

public static class BoundedParameter.Range extends Object
  • Field Details

    • v0

      public final double v0
    • v1

      public final double v1
    • min

      public final double min
    • max

      public final double max
    • vRange

      public final double vRange
    • range

      public final double range
  • Constructor Details

    • Range

      public Range(double v0, double v1)
  • Method Details

    • constrain

      public double constrain(double value)
    • getNormalized

      public double getNormalized(double value)
    • getNormalized

      public double getNormalized(double value, double exponent)
    • getNormalized

      public double getNormalized(double value, double exponent, BoundedParameter.NormalizationCurve curve)
    • normalizedToValue

      public double normalizedToValue(double normalized)
    • normalizedToValue

      public double normalizedToValue(double normalized, double exponent)
    • normalizedToValue

      public double normalizedToValue(double normalized, double exponent, BoundedParameter.NormalizationCurve curve)