19 #ifndef QGSGEOMETRYANALYZERH
20 #define QGSGEOMETRYANALYZERH
30 class QProgressDialog;
49 bool simplify(
QgsVectorLayer* layer,
const QString& shapefileName,
double tolerance,
50 bool onlySelectedFeatures =
false, QProgressDialog* p = 0 );
59 bool centroids(
QgsVectorLayer* layer,
const QString& shapefileName,
60 bool onlySelectedFeatures =
false, QProgressDialog* p = 0 );
68 bool extent(
QgsVectorLayer* layer,
const QString& shapefileName,
bool onlySelectedFeatures =
false, QProgressDialog* p = 0 );
79 bool buffer(
QgsVectorLayer* layer,
const QString& shapefileName,
double bufferDistance,
80 bool onlySelectedFeatures =
false,
bool dissolve =
false,
int bufferDistanceField = -1, QProgressDialog* p = 0 );
90 bool convexHull(
QgsVectorLayer* layer,
const QString& shapefileName,
bool onlySelectedFeatures =
false,
91 int uniqueIdField = -1, QProgressDialog* p = 0 );
101 bool dissolve(
QgsVectorLayer* layer,
const QString& shapefileName,
bool onlySelectedFeatures =
false,
102 int uniqueIdField = -1, QProgressDialog* p = 0 );
106 QList<double> simpleMeasure(
QgsGeometry* geometry );
114 double bufferDistance,
int bufferDistanceField );
121 #endif //QGSVECTORANALYZER