| PiecewiseCurveFTPoint, TCurveKeyIsInMirroredOscillation Method |
Determines whether the given parameter corresponds to a mirrored oscillation loop.
Namespace: DigitalRune.Mathematics.InterpolationAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public override bool IsInMirroredOscillation(
float parameter
)
Public Overrides Function IsInMirroredOscillation (
parameter As Single
) As Boolean
public:
virtual bool IsInMirroredOscillation(
float parameter
) override
abstract IsInMirroredOscillation :
parameter : float32 -> bool
override IsInMirroredOscillation :
parameter : float32 -> bool
Parameters
- parameter
- Type: SystemSingle
The parameter value.
Return Value
Type:
Boolean if the parameter is in a mirrored oscillation loop; otherwise,
.
Remarks
When the parameter is less than the parameter of the first key or greater than the parameter
of the last key, then the parameter is outside the regular curve. The outside behavior is
determined by
PreLoop and
PostLoop. If the loop type is
Oscillate the curve is mirrored after each loop cycle. This
method returns
if the parameter is outside and belongs to a curve
loop which is mirrored to the regular curve.
See Also