QGIS API Documentation  2.99.0-Master (7d4f81d)
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 31 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 25 of file qgspointsample.cpp.

Member Function Documentation

◆ createRandomPoints()

int QgsPointSample::createRandomPoints ( QProgressDialog *  pd)

Starts calculation of random points.

0 in case of success

Definition at line 36 of file qgspointsample.cpp.

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