|
QGIS API Documentation
master-59fd5e0
|
00001 /*************************************************************************** 00002 qgspalgeometry.h 00003 ---------------- 00004 begin : May 2009 00005 copyright : (C) 2009 by Marco Hugentobler 00006 email : marco dot hugentobler at karto dot baug dot ethz dot ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QGSPALGEOMETRY_H 00019 #define QGSPALGEOMETRY_H 00020 00021 #include <qglobal.h> 00022 #include "palgeometry.h" 00023 00024 class QgsOverlayObject; 00025 00026 00028 class CORE_EXPORT QgsPALGeometry: public pal::PalGeometry 00029 { 00030 public: 00033 QgsPALGeometry( QgsOverlayObject* op ); 00034 ~QgsPALGeometry(); 00035 00036 //methods inherited from PalGeometry 00037 // @note available in python bindings 00038 GEOSGeometry* getGeosGeometry(); 00039 // @note available in python bindings 00040 void releaseGeosGeometry( GEOSGeometry *the_geom ) { Q_UNUSED( the_geom ); } 00041 00043 QgsOverlayObject* overlayObjectPtr() const { return mOverlayObjectPtr; } 00044 00045 private: 00047 QgsPALGeometry(); 00049 QgsOverlayObject* mOverlayObjectPtr; 00050 }; 00051 00052 #endif // QGSPALGEOMETRY_H