ProcessingCalculateAreas Method
Calculate the area below the given water levels by integrating up the
storage widths of the processed data, or if the provided cross section has
raw data, these are used instead to calculate the areas.
Namespace: DHI.Mike1D.CrossSectionModuleAssembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public static double[] CalculateAreas(
double[] hs,
XSBase xs
)
- hs Double
- Water levels to calculate areas at. Assuming water levels are increasing and in the range of the raw data
- xs XSBase
- Cross section with raw data
DoubleAreas for each level