Click or drag to resize

CouplingsUtil.LimitArraysToSpan Method

Linit arrays to min-max chainage span. This method is called when the chainage array goes beyond the chainage limits of the river reach.

Namespace:  DHI.Mike1D.Engine.Couplings
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static bool LimitArraysToSpan(
	double minChainage,
	double maxChainage,
	ref double[] xarray,
	ref double[] yarray,
	ref double[] chainageArray
)

Parameters

minChainage
Type: System.Double
Minimum chainage
maxChainage
Type: System.Double
Maximum chainage
xarray
Type:System.Double[]

[Missing <param name="xarray"/> documentation for "M:DHI.Mike1D.Engine.Couplings.CouplingsUtil.LimitArraysToSpan(System.Double,System.Double,System.Double[]@,System.Double[]@,System.Double[]@)"]

yarray
Type:System.Double[]

[Missing <param name="yarray"/> documentation for "M:DHI.Mike1D.Engine.Couplings.CouplingsUtil.LimitArraysToSpan(System.Double,System.Double,System.Double[]@,System.Double[]@,System.Double[]@)"]

chainageArray
Type:System.Double[]

[Missing <param name="chainageArray"/> documentation for "M:DHI.Mike1D.Engine.Couplings.CouplingsUtil.LimitArraysToSpan(System.Double,System.Double,System.Double[]@,System.Double[]@,System.Double[]@)"]

Return Value

Type: Boolean
True if arrays was limited. False if arrays was kept untouched
See Also