QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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. More...
 

Detailed Description

Creates random points in polygons / multipolygons.

Definition at line 15 of file qgspointsample.h.

Constructor & Destructor Documentation

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

Definition at line 10 of file qgspointsample.cpp.

QgsPointSample::~QgsPointSample ( )

Definition at line 19 of file qgspointsample.cpp.

Member Function Documentation

int QgsPointSample::createRandomPoints ( QProgressDialog *  pd)

Starts calculation of random points.

Returns
0 in case of success

Definition at line 23 of file qgspointsample.cpp.


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