Math<T>.Clip Method
Clips a number so that it is within the specified interval.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static T Clip(
T lowerBound,
T upperBound,
T value
)
Parameters
Return Value
TRemarks
The first two parameters contain the lower and upper bounds. The third parameter is the value that should be clipped.