Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

geos::geom::prep::PreparedGeometryFactory Class Reference

A factory for creating PreparedGeometrys. More...

#include <PreparedGeometryFactory.h>

List of all members.

Public Member Functions

const PreparedGeometrycreate (const geom::Geometry *geom) const

Static Public Member Functions

const PreparedGeometryprepare (const geom::Geometry *geom)
void destroy (const PreparedGeometry *geom)


Detailed Description

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.

Author:
Martin Davis


Member Function Documentation

const PreparedGeometry* geos::geom::prep::PreparedGeometryFactory::create const geom::Geometry geom  )  const
 

Creates a new PreparedGeometry appropriate for the argument Geometry.

Parameters:
geom the geometry to prepare
Returns:
the prepared geometry

void geos::geom::prep::PreparedGeometryFactory::destroy const PreparedGeometry geom  )  [inline, static]
 

Destroys PreparedGeometry allocated with the factory.

Parameters:
geom to be deallocated

const PreparedGeometry* geos::geom::prep::PreparedGeometryFactory::prepare const geom::Geometry geom  )  [inline, static]
 

Creates a new PreparedGeometry appropriate for the argument Geometry.

Parameters:
geom the geometry to prepare
Returns:
the prepared geometry


The documentation for this class was generated from the following file:
Generated on Tue Jun 5 14:58:40 2012 for GEOS by  doxygen 1.3.9.1