Class UnaryUnionNG
Unions a collection of geometries in an efficient way, using OverlayNG to ensure robust computation.
This class is most useful for performing UnaryUnion using a fixed-precision model.For unary union using floating precision, Union(Geometry) should be used.
Inherited Members
Namespace: NetTopologySuite.Operation.OverlayNG
Assembly: NetTopologySuite.dll
Syntax
public static class UnaryUnionNG
Methods
| Edit this page View SourceUnion(Geometry, PrecisionModel)
Unions a geometry (which is often a collection) using a given precision model.
Declaration
public static Geometry Union(Geometry geom, PrecisionModel pm)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geom | The geometry to union |
| PrecisionModel | pm | The precision model to use |
Returns
| Type | Description |
|---|---|
| Geometry | The union of the geometry |
See Also
| Edit this page View SourceUnion(IEnumerable<Geometry>, GeometryFactory, PrecisionModel)
Unions a geometry (which is often a collection) using a given precision model.
Declaration
public static Geometry Union(IEnumerable<Geometry> geoms, GeometryFactory geomFact, PrecisionModel pm)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Geometry> | geoms | The geometries to union |
| GeometryFactory | geomFact | The geometry factory to use |
| PrecisionModel | pm | The precision model to use |
Returns
| Type | Description |
|---|---|
| Geometry | The union of the geometries |
See Also
| Edit this page View SourceUnion(IEnumerable<Geometry>, PrecisionModel)
Unions a geometry (which is often a collection) using a given precision model.
Declaration
public static Geometry Union(IEnumerable<Geometry> geoms, PrecisionModel pm)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<Geometry> | geoms | The geometries to union |
| PrecisionModel | pm | The precision model to use |
Returns
| Type | Description |
|---|---|
| Geometry | The union of the geometries |