QGIS API Documentation  2.17.0-Master (973e4b0)
Public Types | Public Member Functions | List of all members
QgsTransectSample Class Reference

A class for the creation of transect sample lines based on a set of strata polygons and baselines. More...

#include <qgstransectsample.h>

Public Types

enum  DistanceUnits { Meters, StrataUnits }
 

Public Member Functions

 QgsTransectSample (QgsVectorLayer *strataLayer, const QString &strataIdAttribute, const QString &minDistanceAttribute, const QString &nPointsAttribute, DistanceUnits minDistUnits, QgsVectorLayer *baselineLayer, bool shareBaseline, const QString &baselineStrataId, const QString &outputPointLayer, const QString &outputLineLayer, const QString &usedBaselineLayer, double minTransectLength=0.0, double baselineBufferDistance=-1.0, double baselineSimplificationTolerance=-1.0)
 
int createSample (QProgressDialog *pd)
 

Detailed Description

A class for the creation of transect sample lines based on a set of strata polygons and baselines.

Definition at line 31 of file qgstransectsample.h.

Member Enumeration Documentation

Enumerator
Meters 
StrataUnits 

Definition at line 35 of file qgstransectsample.h.

Constructor & Destructor Documentation

QgsTransectSample::QgsTransectSample ( QgsVectorLayer strataLayer,
const QString strataIdAttribute,
const QString minDistanceAttribute,
const QString nPointsAttribute,
DistanceUnits  minDistUnits,
QgsVectorLayer baselineLayer,
bool  shareBaseline,
const QString baselineStrataId,
const QString outputPointLayer,
const QString outputLineLayer,
const QString usedBaselineLayer,
double  minTransectLength = 0.0,
double  baselineBufferDistance = -1.0,
double  baselineSimplificationTolerance = -1.0 
)

Definition at line 29 of file qgstransectsample.cpp.

Member Function Documentation

int QgsTransectSample::createSample ( QProgressDialog pd)

Definition at line 61 of file qgstransectsample.cpp.


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