Skip to content

Commit

Permalink
Update sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 16, 2017
1 parent cfec125 commit f03c657
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/core/geometry/qgsgeometry.sip
Expand Up @@ -396,6 +396,15 @@ class QgsGeometry
*/
int reshapeGeometry( const QList<QgsPoint>& reshapeWithLine );

/**
* Replaces a part of this geometry with another line with Z support
*
* @return 0 in case of success
*
* @note added in 2.18
*/
int reshapeGeometry( const QList<QgsPointV2>& reshapeWithLine );

/** Changes this geometry such that it does not intersect the other geometry
* @param other geometry that should not be intersect
* @return 0 in case of success
Expand Down
9 changes: 9 additions & 0 deletions python/gui/qgsmaptoolcapture.sip
Expand Up @@ -163,6 +163,15 @@ class QgsMapToolCapture : public QgsMapToolAdvancedDigitizing
*/
QList<QgsPoint> points();

/**
* List of digitized points with z support
*
* @return List of points
*
* @node added in 2.18
*/
QList<QgsPointV2> pointsV2();

/**
* Set the points on which to work
*
Expand Down

0 comments on commit f03c657

Please sign in to comment.