RRExtensionsSequenceToNTSRings Method

Create a NetToplogySuite (NTS) geometry from the CatchmentGeometry.

Check out CatchmentGeometry for how the sequence of coordinates is interpreted

Definition

Namespace: DHI.Mike1D.RainfallRunoffModule
Assembly: DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static List<List<Coordinate>> SequenceToNTSRings(
	this ICoordinateSequence catchCoords,
	IDiagnostics diagnostics = null
)

Parameters

catchCoords  ICoordinateSequence
Coordinates for polygon or multipolygon
diagnostics  IDiagnostics  (Optional)
Diagnostics object for error messages

Return Value

ListListCoordinate
List of rings, each ring being an inner or outer polygon

Usage Note

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