Class CoverageUnion
Unions a valid coverage of polygons or lines in an efficient way.
A polygonal coverage is a collection of Polygons which satisfy the following conditions:- Vector-cleanLine segments within the collection must either be identical or intersect only at endpoints.
- Non-overlappingNo two polygons may overlap. Equivalently, polygons must be interior-disjoint.
Inherited Members
Namespace: NetTopologySuite.Operation.OverlayNG
Assembly: NetTopologySuite.dll
Syntax
public static class CoverageUnion
Methods
| Edit this page View SourceUnion(Geometry)
Unions a valid polygonal coverage or linear network.
Declaration
public static Geometry Union(Geometry coverage)
Parameters
Type | Name | Description |
---|---|---|
Geometry | coverage | A coverage of polygons or lines |
Returns
Type | Description |
---|---|
Geometry | The union of the coverage |
Exceptions
Type | Condition |
---|---|
TopologyException | Thrown in some cases if the coverage is invalid |