Class GeometryOverlay
- Namespace
- NetTopologySuite.Geometries
- Assembly
- NetTopologySuite.dll
A class that encapsulates geometry overlay functionality
public abstract class GeometryOverlay
- Inheritance
-
GeometryOverlay
- Inherited Members
Constructors
GeometryOverlay()
protected GeometryOverlay()
Properties
Legacy
Gets a value indicating a geometry overlay operation class that uses old NTS overlay operation set.
public static GeometryOverlay Legacy { get; }
Property Value
NG
Gets a value indicating a geometry overlay operation class that uses next-generation NTS overlay operation set.
public static GeometryOverlay NG { get; }
Property Value
Methods
Difference(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.
public virtual Geometry Difference(Geometry a, Geometry b)
Parameters
Returns
- Geometry
A Geometry representing the point-set difference of
Geometry
'sa
andb
.
- See Also
Intersection(Geometry, Geometry)
Computes a Geometry
representing the point-set which is
common to both a
and b
Geometry.
public virtual Geometry Intersection(Geometry a, Geometry b)
Parameters
Returns
- Geometry
A geometry representing the point-set common to the two
Geometry
s.
- See Also
Overlay(Geometry, Geometry, SpatialFunction)
Computes a Geometry
representing the overlay of geometries a
and b
using the spatial function defined by opCode
.
protected abstract Geometry Overlay(Geometry a, Geometry b, SpatialFunction opCode)
Parameters
a
GeometryThe 1st geometry
b
GeometryThe 2nd geometry
opCode
SpatialFunctionThe spatial function for the overlay operation
Returns
- 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
.
public virtual Geometry SymmetricDifference(Geometry a, Geometry b)
Parameters
Returns
- Geometry
A Geometry representing the point-set symmetric difference of
Geometry
'sa
andb
.
- See Also
Union(Geometry)
Computes the union of all the elements in the Geometry
a
.
public abstract Geometry Union(Geometry a)
Parameters
a
GeometryThe
Geometry
Returns
- Geometry
The union of
a
- See Also
-
Union()
Union(Geometry, Geometry)
Computes a Geometry
representing the point-set
which is contained in both input Geometry
s .
public virtual Geometry Union(Geometry a, Geometry b)
Parameters
Returns
- Geometry
A point-set combining the points of
Geometry
'sa
andb
.
- See Also