ProcessingCalculateAreasFromWidths Method |
Calculate the area below the given water levels by integrating up the
storage widths of the processed data.
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[] CalculateAreasFromWidths(
double[] hs,
XSBase xs
)
Public Shared Function CalculateAreasFromWidths (
hs As Double(),
xs As XSBase
) As Double()
public:
static array<double>^ CalculateAreasFromWidths(
array<double>^ hs,
XSBase^ xs
)
Parameters
- hs
- Type: SystemDouble
Water levels to calculate areas at. Assuming water levels are increasing and in the range of the raw data - xs
- Type: DHI.Mike1D.CrossSectionModuleXSBase
Cross section with raw data
Return Value
Type:
DoubleAreas for each level
See Also