MathUtilFixBetweenLimits Method

Function that ensures that a value (the variable arg) is located within certain limits. if the value is lower than the low limit (the variable LowLimit) this function returns LowLimit. If the value is higher than the high limit (the variable HighLimit) the function returns HighLimit. Otherwise the value is returned.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static double FixBetweenLimits(
	double arg,
	double LowLimit,
	double HighLimit
)

Parameters

arg  Double
The variable that must be located within certain limits.
LowLimit  Double
The low limit of the allowed interval.
HighLimit  Double
The upper limit of the allowed interval.

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.MathUtil.FixBetweenLimits(System.Double,System.Double,System.Double)"]

See Also