Skip to content

Commit

Permalink
Add qgstransectsample.sip
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jan 23, 2014
1 parent 5a193df commit b086195
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/analysis/analysis.sip
Expand Up @@ -10,6 +10,7 @@

%Include vector/qgsgeometryanalyzer.sip
%Include vector/qgsoverlayanalyzer.sip
%Include vector/qgstransectsample.sip
%Include vector/qgszonalstatistics.sip

// // %Include interpolation/Bezier3D.sip
Expand Down
25 changes: 25 additions & 0 deletions python/analysis/vector/qgstransectsample.sip
@@ -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 );
};

0 comments on commit b086195

Please sign in to comment.