QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
pal::PalGeometry Class Reference

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

Detailed Description

Interface that allows Pal to access user's geometries.

Constructor & Destructor Documentation

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

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: