Package heronarts.lx.parameter
Enum Class BoundedParameter.NormalizationCurve
java.lang.Object
java.lang.Enum<BoundedParameter.NormalizationCurve>
heronarts.lx.parameter.BoundedParameter.NormalizationCurve
- All Implemented Interfaces:
Serializable
,Comparable<BoundedParameter.NormalizationCurve>
,Constable
- Enclosing class:
- BoundedParameter
public static enum BoundedParameter.NormalizationCurve
extends Enum<BoundedParameter.NormalizationCurve>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExponential curve biased from center, slope is 0 at vCenterExponential curve biased at center, slope is steepest at vCenterNormal exponential curve from v0 to v1 (0 to 1) maps to x^2Normal exponential curve from v1 to v0 (1 to 0) maps to 1 - x^2 -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BoundedParameter.NormalizationCurve[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Normal exponential curve from v0 to v1 (0 to 1) maps to x^2 -
REVERSE
Normal exponential curve from v1 to v0 (1 to 0) maps to 1 - x^2 -
BIAS_CENTER
Exponential curve biased from center, slope is 0 at vCenter -
BIAS_OUTER
Exponential curve biased at center, slope is steepest at vCenter
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-