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-05-01 18:13:15 +02:00
|
|
|
int createSample( QProgressDialog *pd );
|
2017-06-21 09:24:11 +02:00
|
|
|
%Docstring
|
|
|
|
: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 *
|
|
|
|
************************************************************************/
|