ProcessingCalculateArea Method |
Calculate the area below the given water level for the
raw cross section points
Namespace:
DHI.Mike1D.CrossSectionModule
Assembly:
DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static double CalculateArea(
double h,
IList<ICrossSectionPoint> xsPoints,
double xScale
)
Public Shared Function CalculateArea (
h As Double,
xsPoints As IList(Of ICrossSectionPoint),
xScale As Double
) As Double
public:
static double CalculateArea(
double h,
IList<ICrossSectionPoint^>^ xsPoints,
double xScale
)
Parameters
- h
- Type: SystemDouble
Water levels to calculate areas at. Assuming water levels are in the range of the raw data - xsPoints
- Type: System.Collections.GenericIListICrossSectionPoint
Cross section raw data points - xScale
- Type: SystemDouble
Factor to scale x-values with, in case cross section is not perpendicular to river.
Return Value
Type:
DoubleAreas for each level
See Also