Click or drag to resize

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.

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

Parameters

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

Return Value

Type: Double

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

See Also