Click or drag to resize
DigitalRunePiecewiseCurveTParam, TPoint, TCurveKeyIsInMirroredOscillation Method
Determines whether the given parameter corresponds to a mirrored oscillation loop.

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public abstract bool IsInMirroredOscillation(
	TParam parameter
)

Parameters

parameter
Type: TParam
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