public class EnhancedPrecisionOp
extends java.lang.Object
| Constructor | Description |
|---|---|
EnhancedPrecisionOp() |
| Modifier and Type | Method | Description |
|---|---|---|
static Geometry |
buffer(Geometry geom,
double distance) |
Computes the buffer of a
Geometry, using enhanced precision. |
static Geometry |
difference(Geometry geom0,
Geometry geom1) |
Computes the set-theoretic difference of two
Geometrys, using enhanced precision. |
static Geometry |
intersection(Geometry geom0,
Geometry geom1) |
Computes the set-theoretic intersection of two
Geometrys, using enhanced precision. |
static Geometry |
symDifference(Geometry geom0,
Geometry geom1) |
Computes the set-theoretic symmetric difference of two
Geometrys, using enhanced precision. |
static Geometry |
union(Geometry geom0,
Geometry geom1) |
Computes the set-theoretic union of two
Geometrys, using enhanced precision. |
public static Geometry intersection(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.geom0 - the first Geometrygeom1 - the second Geometrypublic static Geometry union(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.geom0 - the first Geometrygeom1 - the second Geometrypublic static Geometry difference(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.geom0 - the first Geometrygeom1 - the second Geometrypublic static Geometry symDifference(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.geom0 - the first Geometrygeom1 - the second Geometrypublic static Geometry buffer(Geometry geom, double distance)
Geometry, using enhanced precision.
This method should no longer be necessary, since the buffer algorithm
now is highly robust.geom - the first Geometrydistance - the buffer distanceCopyright © 2018. All rights reserved.