CrossSectionExtensionsGetCrossSections Method
Find upstream and downstream cross section from
crossSectionData
at
location.
If none exists, create an return a
GetVeryLargeCrossSectionNamespace: DHI.Mike1D.CrossSectionModuleAssembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public static void GetCrossSections(
this CrossSectionData crossSectionData,
ILocation location,
string topoID,
bool reverseDirection,
out ICrossSection upstreamCrossSection,
out ICrossSection downstreamCrossSection
)
- crossSectionData CrossSectionData
- Cross section data to find cross sections in
- location ILocation
- Location to find cross sections at
- topoID String
- Topo id to use when finding cross sections
- reverseDirection Boolean
- Boolean indicating if the structure direction is reversed
- upstreamCrossSection ICrossSection
- The upstream cross section
- downstreamCrossSection ICrossSection
- The downstream cross section
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).