RRExtensionsNTSGeometry(ICatchment, Boolean, IDiagnostics) Method
Create a NetToplogySuite (NTS) geometry from the
CatchmentGeometry.
Depending on the coordinates, the returned IGeometry is
either a NTS Polygon or NTS MultiPolygon.
Check out CatchmentGeometry for how the sequence of coordinates is interpreted
Namespace: DHI.Mike1D.RainfallRunoffModuleAssembly: DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public static Geometry NTSGeometry(
this ICatchment catchment,
bool ccwSubtract,
IDiagnostics diagnostics = null
)
- catchment ICatchment
- Catchment
- ccwSubtract Boolean
- When true, counter-clockwise polygons will always be subtracted. When false, counter-clockwise polygon are only subtracted if contained by the polygon
- diagnostics IDiagnostics (Optional)
- Diagnostics object for error messages
GeometryGeometry, or null if geometry is not a valid polygonIn Visual Basic and C#, you can call this method as an instance method on any object of type
ICatchment. 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).