GEOS
3.9.1dev
|
A factory for creating PreparedGeometrys. More...
#include <PreparedGeometryFactory.h>
Public Member Functions | |
std::unique_ptr< PreparedGeometry > | create (const geom::Geometry *geom) const |
Static Public Member Functions | |
static std::unique_ptr< 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.
Definition at line 54 of file PreparedGeometryFactory.h.
std::unique_ptr<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 |
Definition at line 76 of file PreparedGeometryFactory.h.
|
inlinestatic |
Creates a new PreparedGeometry appropriate for the argument Geometry.
geom | the geometry to prepare |
Definition at line 64 of file PreparedGeometryFactory.h.
References create().