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.

Definition

Namespace: DHI.Mike1D.CrossSectionModule
Assembly: DHI.Mike1D.CrossSectionModule (in DHI.Mike1D.CrossSectionModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static double[] CalculateAreas(
	double[] hs,
	XSBase xs
)

Parameters

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

Return Value

Double
Areas for each level

See Also