QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
pal::PalGeometry Class Referenceabstract

Interface that allows Pal to access user's geometries. More...

#include <palgeometry.h>

Inheritance diagram for pal::PalGeometry:
Inheritance graph
[legend]

Public Member Functions

virtual ~PalGeometry ()
 
virtual const GEOSGeometry * getGeosGeometry ()=0
 get the GEOSGeometry of the feature This method is called by Pal each time it needs a geom's coordinates More...
 
virtual void releaseGeosGeometry (const GEOSGeometry *the_geom)=0
 Called by Pal when it doesn't need the coordinates anymore. More...
 

Detailed Description

Interface that allows Pal to access user's geometries.

Definition at line 42 of file palgeometry.h.

Constructor & Destructor Documentation

virtual pal::PalGeometry::~PalGeometry ( )
inlinevirtual

Definition at line 62 of file palgeometry.h.

Member Function Documentation

virtual const GEOSGeometry* pal::PalGeometry::getGeosGeometry ( )
pure virtual

get the GEOSGeometry of the feature This method is called by Pal each time it needs a geom's coordinates

Returns
GEOSGeometry * a pointer the geos geom

Implemented in QgsPalGeometry.

virtual void pal::PalGeometry::releaseGeosGeometry ( const GEOSGeometry *  the_geom)
pure virtual

Called by Pal when it doesn't need the coordinates anymore.

Parameters
the_geomis the geoms geom from PalGeometry::getfeomGeometry()

Implemented in QgsPalGeometry.


The documentation for this class was generated from the following file: