Click or drag to resize

EngineExtensionsGetVolume Method

Get volume of geometry at provided level

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

Parameters

geometry
Type: DHI.Mike1D.NetworkDataAccessBasinGeometry

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

waterLevel
Type: SystemDouble

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

waterVolume
Type: SystemBoolean

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

Return Value

Type: 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