EngineExtensionsGetVolume Method

Get volume of geometry at provided level

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static double GetVolume(
	this BasinGeometry geometry,
	double waterLevel,
	bool waterVolume
)

Parameters

geometry  BasinGeometry

[Missing <param name="geometry"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolume(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]

waterLevel  Double

[Missing <param name="waterLevel"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolume(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]

waterVolume  Boolean

[Missing <param name="waterVolume"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolume(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]

Return Value

Double

[Missing <returns> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolume(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type BasinGeometry. 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