CouplingsUtilLimitArraysToSpan 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
)
Public Shared Function LimitArraysToSpan (
minChainage As Double,
maxChainage As Double,
ByRef xarray As Double(),
ByRef yarray As Double(),
ByRef chainageArray As Double()
) As Boolean
public:
static bool LimitArraysToSpan(
double minChainage,
double maxChainage,
array<double>^% xarray,
array<double>^% yarray,
array<double>^% chainageArray
)
Parameters
- minChainage
- Type: SystemDouble
Minimum chainage - maxChainage
- Type: SystemDouble
Maximum chainage - xarray
- Type: SystemDouble
[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: SystemDouble
[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: SystemDouble
[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:
BooleanTrue if arrays was limited. False if arrays was kept untouched
See Also