Click or drag to resize

Processing.CalculateAreasFromWidths 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
)

Parameters

hs
Type:System.Double[]
Water levels to calculate areas at. Assuming water levels are increasing and in the range of the raw data
xs
Type: DHI.Mike1D.CrossSectionModule.XSBase
Cross section with raw data

Return Value

Type:Double[]
Areas for each level
See Also