QGIS/python/core/qgsgeometrycache.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

27 lines
676 B
Plaintext

class QgsGeometryCache
{
%TypeHeaderCode
#include <qgsgeometrycache.h>
%End
public:
QgsGeometryCache();
QgsGeometryMap &cachedGeometries();
//! fetch geometry from cache, return true if successful
bool geometry( QgsFeatureId fid, QgsGeometry &geometry );
//! store a geometry in the cache
void cacheGeometry( QgsFeatureId fid, const QgsGeometry &geom );
//! get rid of the cached geometry
void removeGeometry( QgsFeatureId fid );
/** Deletes the geometries in mCachedGeometries */
void deleteCachedGeometries();
void setCachedGeometriesRect( const QgsRectangle &extent );
const QgsRectangle &cachedGeometriesRect();
};