Search Results for

    Show / Hide Table of Contents

    Class GeometryOverlay

    A class that encapsulates geometry overlay functionality

    Inheritance
    object
    GeometryOverlay
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Geometries
    Assembly: NetTopologySuite.dll
    Syntax
    public abstract class GeometryOverlay

    Properties

    | Edit this page View Source

    Legacy

    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
    | Edit this page View Source

    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

    | Edit this page View Source

    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.

    Declaration
    public virtual Geometry Difference(Geometry a, Geometry b)
    Parameters
    Type Name Description
    Geometry a

    The 1st Geometry

    Geometry b

    The 2nd Geometry

    Returns
    Type Description
    Geometry

    A Geometry representing the point-set difference of Geometry's a and b.

    See Also
    Difference(Geometry)
    | Edit this page View Source

    Intersection(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

    Geometry b

    The 2nd Geometry

    Returns
    Type Description
    Geometry

    A geometry representing the point-set common to the two Geometrys.

    See Also
    Intersection(Geometry)
    | Edit this page View Source

    Overlay(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

    | Edit this page View Source

    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

    Geometry b

    The 2nd Geometry

    Returns
    Type Description
    Geometry

    A Geometry representing the point-set symmetric difference of Geometry's a and b.

    See Also
    SymmetricDifference(Geometry)
    | Edit this page View Source

    Union(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 Geometry

    Returns
    Type Description
    Geometry

    The union of a

    See Also
    Union()
    | Edit this page View Source

    Union(Geometry, Geometry)

    Computes a Geometry representing the point-set which is contained in both input Geometrys .

    Declaration
    public virtual Geometry Union(Geometry a, Geometry b)
    Parameters
    Type Name Description
    Geometry a

    The 1st Geometry

    Geometry b

    The 2nd Geometry

    Returns
    Type Description
    Geometry

    A point-set combining the points of Geometry's a and b.

    See Also
    Union(Geometry)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX