public static class CrossSectionExtensions| AutoProcess | Set the AutoProcess flag for all cross sections. |
| CalculateNaturalDepth |
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)
|
| CalculateSpecificConveyance |
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 available). |
| Clone | Clone all cross sections in CrossSectionData. |
| GetBankLevel | 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. |
| GetCapacity | Get the capacity=conveyance*sqrt(slope) at the specified water level and slope. |
| GetConveyance(XSBase, Int32) | Get the conveyance at the specified processed level |
| GetConveyance(ICrossSection, Double, Double, HDParameterData) |
Get the conveyance at the specified water level and slope.
The slope must be positive |
| GetCrossSections | Find upstream and downstream cross section from crossSectionData at location. If none exists, create an return a GetVeryLargeCrossSection |
| GetDelh | Return delh for the cross section. |
| GetLowestPointIndex | Get lowest point index for XSBaseRaw cross section. |
| GetNaturalDepth(ICrossSection, Double, Double) | 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 the Manning formula: Q = M*A*R^(2/3)*sqrt(I) |
| GetNaturalDepth(ICrossSection, Double, Double, HDParameterData) | 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 the Manning formula: Q = M*A*R^(2/3)*sqrt(I) |
| GetNaturalFlow |
Get the open channel natural flow at specified water level and slope
The slope must be positive |
| GetRiverBankLevels(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. |
| GetRiverBankLevels(CrossSectionData, ILocationSpan, String, ReachSide, Boolean) | Get bank levels of cross sections inside span. |
| GetWettedPerimeterGeometric |
Get geometric wetted perimeter.
The geometric wetted perimeter is the sum of all cross-section line segments below a given water level. It can be limited to be not smaller than storage width by using doLimit flag. A hydraulic wetted perimeter is returned in case a cross section has no raw cross section points. |
| GetWettedPerimeterHydraulic |
Get hydraulic wetted perimeter.
The hydraulic wetted perimeter is defined as geometric cross section area divided by hydraulic radius. It can be limited to be not smaller than storage width by using doLimit flag. |
| LimitCoordinatesToLevel | Limits one of the coordinates to a z-level if the line segment defined by the coordinates crosses that level. For example: (x2, z2) X / / (x2, z2) ----------- is limited to -----X------- z-level / / / / X X (x1, z1) (x1, z1) |
| ToProcessedFormulation | Clone all cross sections in CrossSectionData. |