Click or drag to resize

StructureGetCrossSections Method

Find upstream and downstream cross section from crossSectionData at location. If none exists, create an return a GetVeryLargeCrossSection

Namespace:  DHI.Mike1D.StructureModule
Assembly:  DHI.Mike1D.StructureModule (in DHI.Mike1D.StructureModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
protected static void GetCrossSections(
	ILocation location,
	string topoID,
	CrossSectionData crossSectionData,
	bool reverseDirection,
	out ICrossSection upstreamCrossSection,
	out ICrossSection downstreamCrossSection
)

Parameters

location
Type: DHI.Mike1D.GenericILocation
Location to find cross sections at
topoID
Type: SystemString
Topo id to use when finding cross sections
crossSectionData
Type: DHI.Mike1D.CrossSectionModuleCrossSectionData
Cross section data to find cross sections in
reverseDirection
Type: SystemBoolean
Boolean indicating if the structure direction is reversed
upstreamCrossSection
Type: DHI.Mike1D.CrossSectionModuleICrossSection
The upstream cross section
downstreamCrossSection
Type: DHI.Mike1D.CrossSectionModuleICrossSection
The downstream cross section
See Also