Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add qgstransectsample.sip
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** \ingroup analysis | ||
* | ||
* | ||
*/ | ||
|
||
class QgsTransectSample | ||
{ | ||
%TypeHeaderCode | ||
#include <qgstransectsample.h> | ||
%End | ||
public: | ||
|
||
enum DistanceUnits | ||
{ | ||
Meters, | ||
StrataUnits //units are the same as stratum layer | ||
}; | ||
|
||
QgsTransectSample( QgsVectorLayer* strataLayer, QString strataIdAttribute, QString minDistanceAttribute, QString nPointsAttribute, | ||
DistanceUnits minDistUnits, QgsVectorLayer* baselineLayer, bool shareBaseline, | ||
QString baselineStrataId, const QString& outputPointLayer, const QString& outputLineLayer, const QString& usedBaselineLayer, double minTransectLength = 0.0 ); | ||
~QgsTransectSample(); | ||
|
||
int createSample( QProgressDialog* pd ); | ||
}; |