Class GeometryOverlay
A class that encapsulates geometry overlay functionality
Inherited Members
Namespace: NetTopologySuite.Geometries
Assembly: NetTopologySuite.dll
Syntax
public abstract class GeometryOverlay
Properties
| Improve this Doc View SourceLegacy
Gets a value indicating a geometry overlay operation class that uses old NTS overlay operation set.
Declaration
public static GeometryOverlay Legacy { get; }
Property Value
Type | Description |
---|---|
GeometryOverlay |
NG
Gets a value indicating a geometry overlay operation class that uses next-generation NTS overlay operation set.
Declaration
public static GeometryOverlay NG { get; }
Property Value
Type | Description |
---|---|
GeometryOverlay |
Methods
| Improve this Doc View SourceDifference(Geometry, Geometry)
Computes a Geometry
representing the closure of the point-set
of the points contained in this Geometry
that are not contained in
the other
Geometry.
Declaration
public virtual Geometry Difference(Geometry a, Geometry b)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The 1st |
Geometry | b | The 2nd |
Returns
Type | Description |
---|---|
Geometry | A Geometry representing the point-set difference
of |
See Also
| Improve this Doc View SourceIntersection(Geometry, Geometry)
Computes a Geometry
representing the point-set which is
common to both a
and b
Geometry.
Declaration
public virtual Geometry Intersection(Geometry a, Geometry b)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The 1st |
Geometry | b | The 2nd |
Returns
Type | Description |
---|---|
Geometry | A geometry representing the point-set common to the two |
See Also
| Improve this Doc View SourceOverlay(Geometry, Geometry, SpatialFunction)
Computes a Geometry
representing the overlay of geometries a
and b
using the spatial function defined by opCode
.
Declaration
protected abstract Geometry Overlay(Geometry a, Geometry b, SpatialFunction opCode)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The 1st geometry |
Geometry | b | The 2nd geometry |
SpatialFunction | opCode | The spatial function for the overlay operation |
Returns
Type | Description |
---|---|
Geometry | The computed geometry |
SymmetricDifference(Geometry, Geometry)
Computes a Geometry
representing the closure of the point-set
which is the union of the points in Geometry
a
which are not
contained in the Geometry b
,
with the points in the b
Geometry not contained in the Geometry
a
.
Declaration
public virtual Geometry SymmetricDifference(Geometry a, Geometry b)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The 1st |
Geometry | b | The 2nd |
Returns
Type | Description |
---|---|
Geometry | A Geometry representing the point-set symmetric difference
of |
See Also
| Improve this Doc View SourceUnion(Geometry)
Computes the union of all the elements in the Geometry
a
.
Declaration
public abstract Geometry Union(Geometry a)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The |
Returns
Type | Description |
---|---|
Geometry | The union of |
See Also
Union(Geometry, Geometry)
Computes a Geometry
representing the point-set
which is contained in both input Geometry
s .
Declaration
public virtual Geometry Union(Geometry a, Geometry b)
Parameters
Type | Name | Description |
---|---|---|
Geometry | a | The 1st |
Geometry | b | The 2nd |
Returns
Type | Description |
---|---|
Geometry | A point-set combining the points of
|