Res1DExtensionsDiameter Method |
Get diameter of reach. It is assumed that the reach
uses the same cross section throughout is link.
If the reach does not have a circular cross section, null is returned.
Namespace:
DHI.Mike1D.ResultDataAccess
Assembly:
DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public static Nullable<double> Diameter(
this IRes1DReach reach
)
<ExtensionAttribute>
Public Shared Function Diameter (
reach As IRes1DReach
) As Nullable(Of Double)
public:
[ExtensionAttribute]
static Nullable<double> Diameter(
IRes1DReach^ reach
)
Parameters
- reach
- Type: DHI.Mike1D.ResultDataAccessIRes1DReach
[Missing <param name="reach"/> documentation for "M:DHI.Mike1D.ResultDataAccess.Res1DExtensions.Diameter(DHI.Mike1D.ResultDataAccess.IRes1DReach)"]
Return Value
Type:
NullableDouble[Missing <returns> documentation for "M:DHI.Mike1D.ResultDataAccess.Res1DExtensions.Diameter(DHI.Mike1D.ResultDataAccess.IRes1DReach)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IRes1DReach. 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