AbstractLocationSpanContainsChainage Method (Double, Double) |
Decides whether a chainage value is contained inside the location span chainage values
or on the edge of the span.
Comparison uses the tolerance,
i.e., the chainage can be tolerance outside the span and still be contained.
Negative values for tolerance are allowed ("shortening" the span)
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public bool ContainsChainage(
double chainage,
double tolerance
)
Public Function ContainsChainage (
chainage As Double,
tolerance As Double
) As Boolean
public:
virtual bool ContainsChainage(
double chainage,
double tolerance
) sealed
Parameters
- chainage
- Type: SystemDouble
[Missing <param name="chainage"/> documentation for "M:DHI.Mike1D.Generic.AbstractLocationSpan.ContainsChainage(System.Double,System.Double)"]
- tolerance
- Type: SystemDouble
[Missing <param name="tolerance"/> documentation for "M:DHI.Mike1D.Generic.AbstractLocationSpan.ContainsChainage(System.Double,System.Double)"]
Return Value
Type:
BooleanTrue if contained
See Also