Class EnhancedPrecisionOp
Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems.
Inherited Members
Namespace: NetTopologySuite.Precision
Assembly: NetTopologySuite.dll
Syntax
public class EnhancedPrecisionOp
Methods
| Improve this Doc View SourceDifference(Geometry, Geometry)
Computes the set-theoretic difference of two Geometry
s, using enhanced precision.
Declaration
public static Geometry Difference(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 difference of the input Geometries. |
Intersection(Geometry, Geometry)
Computes the set-theoretic intersection of two Geometry
s, using enhanced precision.
Declaration
public static 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. |
SymDifference(Geometry, Geometry)
Computes the set-theoretic symmetric difference of two Geometry
s, using enhanced precision.
Declaration
public static 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. |
Union(Geometry, Geometry)
Computes the set-theoretic union of two Geometry
s, using enhanced precision.
Declaration
public static 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. |