Click or drag to resize

CrossSectionExtensions Methods

The CrossSectionExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAutoProcess
Set the AutoProcess flag for all cross sections.
Public methodStatic memberCalculateNaturalDepth
Gets the Natural depth for a given discharge [m3/s] and slope [dimensionless] The natural depth is the depth where the flow resistance and velocity balances, i.e., for Manning resistance formulation when Manning formula is fullfilled:
Q = M*A*R^(2/3)*sqrt(I)
Public methodStatic memberCalculateSpecificConveyance
Calculate the specific conveyance at the specified water level and slope. Specific conveyance is the actual conveyance over area.

The slope is only required for ColebrookWhite and HazenWilliams. It must be positive. If negative, it is not considered, but instead a design conveyance is returned (where no slope is avaiable).

Public methodStatic memberClone
Clone all cross sections in CrossSectionData.
Public methodStatic memberGetBankLevel
Get bank levels of cross section. If cross section is not open, or it has no markers, the top of the cross section is returned.
Public methodStatic memberGetCapacity
Get the capacity=conveyance*sqrt(slope) at the specified water level and slope.
Public methodStatic memberGetConveyance(XSBase, Int32)
Get the conveyance at the specified processed level
Public methodStatic memberGetConveyance(ICrossSection, Double, Double, HDParameterData)
Get the conveyance at the specified water level and slope.

The slope must be postive

Public methodStatic memberGetCrossSections
Find upstream and downstream cross section from crossSectionData at location. If none exists, create an return a GetVeryLargeCrossSection
Public methodStatic memberGetDelh
Return delh for the cross section.
Public methodStatic memberGetRiverBankLevels(ILocationSpan, ListICrossSection, ReachSide, Boolean)
Get bank levels of cross sections inside span.

The css can contain only one cross section before start-chainage of span and only one cross section after end-chainage of span, to be used for interpolation.

Public methodStatic memberGetRiverBankLevels(CrossSectionData, ILocationSpan, String, ReachSide, Boolean)
Get bank levels of cross sections inside span.
Public methodStatic memberToProcessedFormulation
Clone all cross sections in CrossSectionData.
Top
See Also