Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created September 25, 2012 22:07
Show Gist options
  • Save jef-n/3784772 to your computer and use it in GitHub Desktop.
Save jef-n/3784772 to your computer and use it in GitHub Desktop.
#include <QMap>
#include <QSet>
typedef qint64 QgsFeatureId;
class QgsVectorLayer;
class QgsGeometry {
public:
QgsGeometry() {}
~QgsGeometry() {}
int avoidIntersections( QMap<QgsVectorLayer*, QSet<QgsFeatureId> > ignoreFeatures = ( QMap<QgsVectorLayer*, QSet<QgsFeatureId> >() ) )
{
Q_UNUSED( ignoreFeatures );
return 1;
}
};
int main( int argc, char *argv[]) {
Q_UNUSED( argc );
Q_UNUSED( argv );
QgsGeometry g;
g.avoidIntersections();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment