Search Results for

    Show / Hide Table of Contents

    Class CommonBitsOp

    Provides versions of Geometry spatial functions which use common bit removal to reduce the likelihood of robustness problems. In the current implementation no rounding is performed on the reshifted result point, which means that it is possible that the returned Geometry is invalid. Client classes should check the validity of the returned result themselves.

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

    Constructors

    | Edit this page View Source

    CommonBitsOp()

    Creates a new instance of class, which reshifts result Geometrys.

    Declaration
    public CommonBitsOp()
    | Edit this page View Source

    CommonBitsOp(bool)

    Creates a new instance of class, specifying whether the result Geometrys should be reshifted.

    Declaration
    public CommonBitsOp(bool returnToOriginalPrecision)
    Parameters
    Type Name Description
    bool returnToOriginalPrecision

    Methods

    | Edit this page View Source

    Buffer(Geometry, double)

    Computes the buffer a point, using enhanced precision.

    Declaration
    public Geometry Buffer(Geometry geom0, double distance)
    Parameters
    Type Name Description
    Geometry geom0

    The Geometry to buffer.

    double distance

    The buffer distance.

    Returns
    Type Description
    Geometry

    The Geometry representing the buffer of the input Geometry.

    | Edit this page View Source

    Difference(Geometry, Geometry)

    Computes the set-theoretic difference of two Geometrys, using enhanced precision.

    Declaration
    public Geometry Difference(Geometry geom0, Geometry geom1)
    Parameters
    Type Name Description
    Geometry geom0

    The first Geometry.

    Geometry geom1

    The second Geometry, to be subtracted from the first.

    Returns
    Type Description
    Geometry

    The Geometry representing the set-theoretic difference of the input Geometries.

    | Edit this page View Source

    Intersection(Geometry, Geometry)

    Computes the set-theoretic intersection of two Geometrys, using enhanced precision.

    Declaration
    public Geometry Intersection(Geometry geom0, Geometry geom1)
    Parameters
    Type Name Description
    Geometry geom0

    The first Geometry.

    Geometry geom1

    The second Geometry.

    Returns
    Type Description
    Geometry

    The Geometry representing the set-theoretic intersection of the input Geometries.

    | Edit this page View Source

    SymDifference(Geometry, Geometry)

    Computes the set-theoretic symmetric difference of two geometries, using enhanced precision.

    Declaration
    public Geometry SymDifference(Geometry geom0, Geometry geom1)
    Parameters
    Type Name Description
    Geometry geom0

    The first Geometry.

    Geometry geom1

    The second Geometry.

    Returns
    Type Description
    Geometry

    The Geometry representing the set-theoretic symmetric difference of the input Geometries.

    | Edit this page View Source

    Union(Geometry, Geometry)

    Computes the set-theoretic union of two Geometrys, using enhanced precision.

    Declaration
    public Geometry Union(Geometry geom0, Geometry geom1)
    Parameters
    Type Name Description
    Geometry geom0

    The first Geometry.

    Geometry geom1

    The second Geometry.

    Returns
    Type Description
    Geometry

    The Geometry representing the set-theoretic union of the input Geometries.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX