Click or drag to resize

LocationSpanContainsChainage Method (Double, Double, Double, Double)

Decides wheather a chainage value is contained inside the location span chainage values. Comparison uses the tolerance parameter i.e., the chainage can be tolerance outside the span before it is contained. Negative values for tolerance are allowed ("shortening" the span)

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static bool ContainsChainage(
	double chainage,
	double startChainage,
	double endChainage,
	double tolerance
)

Parameters

chainage
Type: SystemDouble
startChainage
Type: SystemDouble
endChainage
Type: SystemDouble
tolerance
Type: SystemDouble

Return Value

Type: Boolean
See Also