1 #ifndef QGSPOINTSAMPLE_H
2 #define QGSPOINTSAMPLE_H
12 class QProgressDialog;
18 QgsPointSample(
QgsVectorLayer* inputLayer,
const QString& outputLayer, QString nPointsAttribute, QString minDistAttribute = QString() );
23 int createRandomPoints( QProgressDialog* pd );
42 #endif // QGSPOINTSAMPLE_H
QgsVectorLayer * mInputLayer
Layer id of input polygon/multipolygon layer.
QString mMinDistanceAttribute
Attribute containing minimum distance between sample points (or -1 if no min.
A convenience class for writing vector files to disk.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Creates random points in polygons / multipolygons.
A class to represent a point geometry.
QgsFeatureId mNCreatedPoints
QString mOutputLayer
Output path of result layer.
Represents a vector layer which manages a vector based data sets.
QString mNumberOfPointsAttribute
Attribute containing number of points per feature.