2017-06-21 09:24:11 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/vector/qgstransectsample.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
2013-07-10 17:39:16 +02:00
|
|
|
|
|
|
|
class QgsTransectSample
|
|
|
|
{
|
2017-06-21 09:24:11 +02:00
|
|
|
%Docstring
|
|
|
|
A class for the creation of transect sample lines based on a set of strata polygons and baselines*
|
|
|
|
%End
|
|
|
|
|
2013-07-10 17:39:16 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-21 09:24:11 +02:00
|
|
|
#include "qgstransectsample.h"
|
2013-07-10 17:39:16 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
enum DistanceUnits
|
|
|
|
{
|
|
|
|
Meters,
|
2017-06-21 09:24:11 +02:00
|
|
|
StrataUnits
|
2013-07-10 17:39:16 +02:00
|
|
|
};
|
|
|
|
|
2017-06-21 09:24:11 +02:00
|
|
|
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 );
|
2013-07-10 17:39:16 +02:00
|
|
|
|
2017-08-26 17:22:26 +10:00
|
|
|
int createSample( QgsFeedback *feedback = 0 );
|
2017-06-21 09:24:11 +02:00
|
|
|
%Docstring
|
2017-08-26 17:22:26 +10:00
|
|
|
Creates the sample.
|
|
|
|
|
|
|
|
The optional ``feedback`` argument can be used for progress reporting and cancelation support.
|
2017-06-21 09:24:11 +02:00
|
|
|
:rtype: int
|
|
|
|
%End
|
|
|
|
|
2013-07-10 17:39:16 +02:00
|
|
|
};
|
2017-06-21 09:24:11 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/vector/qgstransectsample.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|