public class CommonBitsOp extends Object
In the current implementation no rounding is performed on the reshifted result geometry, which means that it is possible that the returned Geometry is invalid. Client classes should check the validity of the returned result themselves.
| Constructor and Description |
|---|
CommonBitsOp()
Creates a new instance of class, which reshifts result
Geometrys.
|
CommonBitsOp(boolean returnToOriginalPrecision)
Creates a new instance of class, specifying whether the result
Geometrys should be reshifted.
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
buffer(Geometry
Computes the buffer a geometry, using enhanced precision.
|
Geometry |
difference(Geometry
Computes the set-theoretic difference of two
Geometrys, using enhanced precision.
|
Geometry |
intersection(Geometry
Computes the set-theoretic intersection of two
Geometrys, using enhanced precision.
|
Geometry |
symDifference(Geometry
Computes the set-theoretic symmetric difference of two geometries, using enhanced precision.
|
Geometry |
union(Geometry
Computes the set-theoretic union of two
Geometrys, using enhanced precision.
|
public CommonBitsOp()
Geometrys.
public CommonBitsOp(boolean returnToOriginalPrecision)
Geometrys should be reshifted.
returnToOriginalPrecision -
public Geometryintersection(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.
geom0 - the first Geometry
geom1 - the second Geometry
public Geometryunion(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.
geom0 - the first Geometry
geom1 - the second Geometry
public Geometrydifference(Geometry geom0, Geometry geom1)
Geometrys, using enhanced precision.
geom0 - the first Geometry
geom1 - the second Geometry, to be subtracted from the first
public GeometrysymDifference(Geometry geom0, Geometry geom1)
geom0 - the first Geometry
geom1 - the second Geometry