Click or drag to resize

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.CrossSectionModule
Assembly:  DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static double[] CalculateAreas(
	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: Double
Areas for each level
See Also