GEOS
3.3.3
|
A factory for creating PreparedGeometrys. More...
#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) |
A factory for creating PreparedGeometrys.
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 |
Referenced by prepare().
|
inlinestatic |
Destroys PreparedGeometry allocated with the factory.
geom | to be deallocated |
|
inlinestatic |
Creates a new PreparedGeometry appropriate for the argument Geometry.
geom | the geometry to prepare |
References create().