FloodMapExtensionsGetFloodMapCrossSectionsForReach Method

Get all cross sections in crossSectionData within the reach specified by reachSpan. If no cross section exist at reach start/end chainage, and if a cross section exist upstream of start-chainage / downstream of end chainage, and if it is within digiPointSpan (if defined), those cross sections are included as well. Those cross sections are required in order to do proper cross line interpolation at start/end of reach span.

Definition

Namespace: DHI.Mike1D.FloodMap
Assembly: DHI.Mike1D.FloodMap (in DHI.Mike1D.FloodMap.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static List<IFloodMapCrossSection> GetFloodMapCrossSectionsForReach(
	this CrossSectionData crossSectionData,
	ILocationSpan reachSpan,
	string topoID,
	ILocationSpan digiPointSpan = null
)

Parameters

crossSectionData  CrossSectionData
Cross section database
reachSpan  ILocationSpan
Reach span to get cross sections for
topoID  String
TopoID to use in cross section database
digiPointSpan  ILocationSpan  (Optional)
Span of digipoints. Must at least include the reachSpan, but can be larger

Return Value

ListIFloodMapCrossSection

[Missing <returns> documentation for "M:DHI.Mike1D.FloodMap.FloodMapExtensions.GetFloodMapCrossSectionsForReach(DHI.Mike1D.CrossSectionModule.CrossSectionData,DHI.Mike1D.Generic.ILocationSpan,System.String,DHI.Mike1D.Generic.ILocationSpan)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CrossSectionData. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also