Instead of calling individual methods of JTS (JTS Topology Suite),
this singleton facade allows gvSIG users to centralize all JTS computational
geometry operations in one only class.
This is useful to ensure certain operations
(for example, geoprocessing operations could cause robustness problems, so JTS
allows to use enhanced precission operations, this facade forces to use these
enhanced precision operations)
public static Geometry computeBuffer(Geometry originalGeometry,
public static Geometry difference(Geometry geom1,
public static Geometry symDifference(Geometry geom1,
public static Geometry union(Geometry geom1,
public static Geometry union(Geometry geomArray,
public static Geometry intersection(Geometry geom1,
public static boolean checkNull(Geometry geometry)
Checks a JTS geometry to be null or NIL.
NIL in jts is used to represent particular cases of geometries.
(for example, an interior buffer that collapses a geometry).
NIL is managed with a zero lenght GeometryCollection