#include <PreparedGeometryFactory.h>
Public Member Functions | |
const PreparedGeometry * | create (const geom::Geometry *geom) const |
Static Public Member Functions | |
static const PreparedGeometry * | prepare (const geom::Geometry *geom) |
static void | destroy (const PreparedGeometry *geom) |
It chooses an appropriate implementation of PreparedGeometry based on the geoemtric type of the input geometry. In the future, the factory may accept hints that indicate special optimizations which can be performed.
const PreparedGeometry* geos::geom::prep::PreparedGeometryFactory::create | ( | const geom::Geometry * | geom | ) | const |
Creates a new PreparedGeometry appropriate for the argument Geometry.
geom | the geometry to prepare |
static void geos::geom::prep::PreparedGeometryFactory::destroy | ( | const PreparedGeometry * | geom | ) | [inline, static] |
static const PreparedGeometry* geos::geom::prep::PreparedGeometryFactory::prepare | ( | const geom::Geometry * | geom | ) | [inline, static] |
Creates a new PreparedGeometry appropriate for the argument Geometry.
geom | the geometry to prepare |