|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.vividsolutions.jts.precision.EnhancedPrecisionOp
public class EnhancedPrecisionOp
Provides versions of Geometry spatial functions which use enhanced precision techniques to reduce the likelihood of robustness problems.
Constructor Summary | |
---|---|
EnhancedPrecisionOp()
|
Method Summary | |
---|---|
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 Geometry s, using enhanced precision. |
static Geometry |
intersection(Geometry geom0,
Geometry geom1)
Computes the set-theoretic intersection of two Geometry s, using enhanced precision. |
static Geometry |
symDifference(Geometry geom0,
Geometry geom1)
Computes the set-theoretic symmetric difference of two Geometry s, using enhanced precision. |
static Geometry |
union(Geometry geom0,
Geometry geom1)
Computes the set-theoretic union of two Geometry s, using enhanced precision. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnhancedPrecisionOp()
Method Detail |
---|
public static Geometry intersection(Geometry geom0, Geometry geom1)
Geometry
s, using enhanced precision.
geom0
- the first Geometrygeom1
- the second Geometry
public static Geometry union(Geometry geom0, Geometry geom1)
Geometry
s, using enhanced precision.
geom0
- the first Geometrygeom1
- the second Geometry
public static Geometry difference(Geometry geom0, Geometry geom1)
Geometry
s, using enhanced precision.
geom0
- the first Geometrygeom1
- the second Geometry
public static Geometry symDifference(Geometry geom0, Geometry geom1)
Geometry
s, using enhanced precision.
geom0
- the first Geometrygeom1
- the second Geometry
public 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 distance
|
JTS Topology Suite version 1.12 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |