QGIS API Documentation  2.99.0-Master (e077efd)
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

§ DistanceUnits

Enumerator
Meters 
StrataUnits 

Definition at line 35 of file qgstransectsample.h.

Constructor & Destructor Documentation

§ QgsTransectSample()

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 30 of file qgstransectsample.cpp.

Member Function Documentation

§ createSample()

int QgsTransectSample::createSample ( QProgressDialog *  pd)

Definition at line 62 of file qgstransectsample.cpp.


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