CrossSectionExtensionsGetCapacity Method

Get the capacity=conveyance*sqrt(slope) at the specified water level and slope.

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 GetCapacity(
	this ICrossSection cs,
	double waterLevel,
	double slope,
	HDParameterData hdParams
)

Parameters

cs  ICrossSection

[Missing <param name="cs"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetCapacity(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

waterLevel  Double

[Missing <param name="waterLevel"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetCapacity(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

slope  Double

[Missing <param name="slope"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetCapacity(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

hdParams  HDParameterData

[Missing <param name="hdParams"/> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetCapacity(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.CrossSectionModule.CrossSectionExtensions.GetCapacity(DHI.Mike1D.CrossSectionModule.ICrossSection,System.Double,System.Double,DHI.Mike1D.HDParameterDataAccess.HDParameterData)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICrossSection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also