GEOS 3.11.1
|
A factory for creating PreparedGeometry
s.
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 PreparedGeometry
s.
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.
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 |
|
inlinestatic |
Creates a new PreparedGeometry
appropriate for the argument Geometry
.
geom | the geometry to prepare |
References create().