DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.Engine
EngineExtensions Class
EngineExtensions Methods
Digipoints Method
DirectionUnitVector Method
FlowIntoNode Method
GetPorosity Method
GetSurfaceArea Method
IsHdReach Method
IsRoutingReach Method
EngineExtensions
DirectionUnitVector Method
Calculates the direction vector of the reach at the given gridpoint, as the average from the last to the next gridpoint.
Namespace:
DHI.Mike1D.Engine
Assembly:
DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
static
Vector
DirectionUnitVector
(
this
EngineReach
reach
,
GridPoint
gridPoint
)
Parameters
reach
Type:
DHI.Mike1D.Engine
EngineReach
gridPoint
Type:
DHI.Mike1D.Engine
GridPoint
Return Value
Type:
Vector
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
EngineReach
. 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
Reference
EngineExtensions Class
DHI.Mike1D.Engine Namespace