Click or drag to resize

RRExtensionsNTSGeometry Method

Create an NTS geometry from the CatchmentGeometry.

Depending on the coordinates, the returned IGeometry is either a NTS Polygon or NTS MultiPolygon.

Namespace:  DHI.Mike1D.RainfallRunoffModule
Assembly:  DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static IGeometry NTSGeometry(
	this ICatchment catchment,
	IDiagnostics diagnostics = null
)

Parameters

catchment
Type: DHI.Mike1D.RainfallRunoffModuleICatchment
Catchment
diagnostics (Optional)
Type: DHI.Mike1D.GenericIDiagnostics
Diagnostics object for error messages

Return Value

Type: IGeometry
Geometry, or null if geometry is not a valid polygon

Usage Note

In 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).
See Also