QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsPointSample Class Reference

Creates random points in polygons / multipolygons. More...

#include <qgspointsample.h>

Public Member Functions

 QgsPointSample (QgsVectorLayer *inputLayer, const QString &outputLayer, const QString &nPointsAttribute, const QString &minDistAttribute=QString())
 
int createRandomPoints (QProgressDialog *pd)
 Starts calculation of random points. More...
 

Detailed Description

Creates random points in polygons / multipolygons.

Definition at line 30 of file qgspointsample.h.

Constructor & Destructor Documentation

◆ QgsPointSample()

QgsPointSample::QgsPointSample ( QgsVectorLayer inputLayer,
const QString outputLayer,
const QString nPointsAttribute,
const QString minDistAttribute = QString() 
)

Definition at line 24 of file qgspointsample.cpp.

Member Function Documentation

◆ createRandomPoints()

int QgsPointSample::createRandomPoints ( QProgressDialog pd)

Starts calculation of random points.

Returns
0 in case of success

Definition at line 35 of file qgspointsample.cpp.


The documentation for this class was generated from the following files: