Click or drag to resize

CrossSectionDataFindCrossSectionsForLocationSpan Method

Gets the cross-sections on locations inside span.

If excludeEnds is true, then cross sections must be strictly inside span (cross sections must be LOCATION_EQUAL_TOLERANCE inside span).

If excludeEnds is false, then cross sections on the end of the span will be included (within tolerance of LOCATION_EQUAL_TOLERANCE).

Uses StrictContains in the locationSpan to match. If there is a global cross section for this reachID, then an array of length 0 is returned.

Namespace:  DHI.Mike1D.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public IList<ICrossSection> FindCrossSectionsForLocationSpan(
	ILocationSpan locationSpan,
	string topoID,
	bool excludeEnds
)

Parameters

locationSpan
Type: DHI.Mike1D.GenericILocationSpan
Location Span where all crossSections are sought
topoID
Type: SystemString
Topo-ID to use
excludeEnds
Type: SystemBoolean
Flag specifying whether cross sections at the end of the location span should be included or not.

Return Value

Type: IListICrossSection
A list of CrossSections within LocationSpan
See Also