EngineExtensionsGetWettedAreaBox Method

Calculates the wetted area for the node assuming it is either a box or a cylinger shape.

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 , double ) GetWettedAreaBox(
	this EngineNode engineNode,
	double waterLevel
)

Parameters

engineNode  EngineNode
node that the wetted area shall be calculated for
waterLevel  Double
water level to be assumed for the wetted area

Return Value

ValueTupleDouble, Double
wetted bottom area, wetted sides area

Usage Note

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