Class PreparedGeometryFactory

Hierarchy: Object , PreparedGeometryFactory
public class PreparedGeometryFactory
A factory for creating PreparedGeometrys. It chooses an appropriate implementation of PreparedGeometry based on the geometric type of the input geometry.

In the future, the factory may accept hints that indicate special optimizations which can be performed.

Instances of this class are thread-safe.

Authors:
Martin Davis
public PreparedGeometryFactory()
public static PreparedGeometry prepare(Geometry geom)
Creates a new PreparedGeometry appropriate for the argument Geometry.
Parameters:
geom - geom the geometry to prepare
Returns:
the prepared geometry
public PreparedGeometry create(Geometry geom)
Creates a new PreparedGeometry appropriate for the argument Geometry.
Parameters:
geom - geom the geometry to prepare
Returns:
the prepared geometry