EngineExtensionsGetVolumeCone Method |
Get volume of geometry at provided level, by interpolation of cone/pyramid geometry
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 GetVolumeCone(
this BasinGeometry geometry,
double waterLevel,
bool waterVolume
)
<ExtensionAttribute>
Public Shared Function GetVolumeCone (
geometry As BasinGeometry,
waterLevel As Double,
waterVolume As Boolean
) As Double
public:
[ExtensionAttribute]
static double GetVolumeCone(
BasinGeometry^ geometry,
double waterLevel,
bool waterVolume
)
Parameters
- geometry
- Type: DHI.Mike1D.NetworkDataAccessBasinGeometry
[Missing <param name="geometry"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolumeCone(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]
- waterLevel
- Type: SystemDouble
[Missing <param name="waterLevel"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolumeCone(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]
- waterVolume
- Type: SystemBoolean
[Missing <param name="waterVolume"/> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolumeCone(DHI.Mike1D.NetworkDataAccess.BasinGeometry,System.Double,System.Boolean)"]
Return Value
Type:
Double[Missing <returns> documentation for "M:DHI.Mike1D.Engine.EngineExtensions.GetVolumeCone(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