QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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, QString nPointsAttribute, QString minDistAttribute=QString())
 ~QgsPointSample ()
int createRandomPoints (QProgressDialog *pd)
 Starts calculation of random points.

Detailed Description

Creates random points in polygons / multipolygons.

Constructor & Destructor Documentation

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

Member Function Documentation

int QgsPointSample::createRandomPoints ( QProgressDialog *  pd)

Starts calculation of random points.

0 in case of success

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