Click or drag to resize

ProcessingCalculateArea Method

Calculate the area below the given water level for the raw cross section points

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 CalculateArea(
	double h,
	IList<ICrossSectionPoint> xsPoints,
	double xScale
)

Parameters

h
Type: SystemDouble
Water levels to calculate areas at. Assuming water levels are in the range of the raw data
xsPoints
Type: System.Collections.GenericIListICrossSectionPoint
Cross section raw data points
xScale
Type: SystemDouble
Factor to scale x-values with, in case cross section is not perpendicular to river.

Return Value

Type: Double
Areas for each level
See Also