ProcessingCalculateArea Method
Calculate the area below the given water level for the
raw cross section points
Namespace: DHI.Mike1D.CrossSectionModuleAssembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public static double CalculateArea(
double h,
IList<ICrossSectionPoint> xsPoints,
double xScale
)
- h Double
- Water levels to calculate areas at. Assuming water levels are in the range of the raw data
- xsPoints IListICrossSectionPoint
- Cross section raw data points
- xScale Double
- Factor to scale x-values with, in case cross section is not perpendicular to river.
DoubleAreas for each level