AbstractLocationSpanContains(ILocation, Double) Method

Decides wheather location is contained inside the location span or on the edge of the span. Location comparisons are case insensitive, and uses the tolerance, i.e., the location can be tolerance outside the span and still be contained. tolerance may be negative.

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public bool Contains(
	ILocation location,
	double tolerance
)

Parameters

location  ILocation

[Missing <param name="location"/> documentation for "M:DHI.Mike1D.Generic.AbstractLocationSpan.Contains(DHI.Mike1D.Generic.ILocation,System.Double)"]

tolerance  Double

[Missing <param name="tolerance"/> documentation for "M:DHI.Mike1D.Generic.AbstractLocationSpan.Contains(DHI.Mike1D.Generic.ILocation,System.Double)"]

Return Value

Boolean
true if location has same branch name and chainage is inside interval

See Also