LocationSpanStrictContains(ILocation) Method

Decides whether location is contained inside the location span. Inside is understood as startChainage > location.Chainage and location.Chainage > endChainage Location comparisons are case insensitive, and uses the Constants.LOCATION_EQUAL_TOLERANCE, i.e., location.Chainage must be tolerance inside the span to evaluate to true.

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 StrictContains(
	ILocation location
)

Parameters

location  ILocation

[Missing <param name="location"/> documentation for "M:DHI.Mike1D.Generic.LocationSpan.StrictContains(DHI.Mike1D.Generic.ILocation)"]

Return Value

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

Implements

ILocationSpanStrictContains(ILocation)

See Also