PolygonHolesExtension extension

Extension providing ring and hole utilities for Polygon geometries.

on

Properties

hasHoles bool

Available on Polygon, provided by the PolygonHolesExtension extension

Check if this polygon has interior rings (holes).
no setter
holes List<List<Point>>

Available on Polygon, provided by the PolygonHolesExtension extension

Extract all interior rings (holes) as lists of Points.
no setter
outerRing List<Point>

Available on Polygon, provided by the PolygonHolesExtension extension

Extract the outer ring (first part) as a list of Points.
no setter
ringCount int

Available on Polygon, provided by the PolygonHolesExtension extension

Get the number of rings (1 outer + n holes).
no setter

Methods

getRing(int index) List<Point>

Available on Polygon, provided by the PolygonHolesExtension extension

Get a specific ring by index (0 = outer, 1+ = holes).