Skip to content
Permalink
Browse files

Define params as /Out/

  • Loading branch information
m-kuhn committed Aug 14, 2017
1 parent f9ba905 commit a4dac6ace219292d6010d6e6afeaf2a853ed2181
Showing with 2 additions and 2 deletions.
  1. +1 −1 python/core/geometry/qgsgeometry.sip
  2. +1 −1 src/core/geometry/qgsgeometry.h
@@ -490,7 +490,7 @@ Returns true if WKB of the geometry is of WKBMulti* type
:rtype: OperationResult
%End

OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries, bool topological, QList<QgsPointXY> &topologyTestPoints );
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries /Out/, bool topological, QList<QgsPointXY> &topologyTestPoints /Out/ );
%Docstring
Splits this geometry according to a given line.
\param splitLine the line that splits the geometry
@@ -509,7 +509,7 @@ class CORE_EXPORT QgsGeometry
* \param[out] topologyTestPoints points that need to be tested for topological completeness in the dataset
* \returns OperationResult a result code: success or reason of failure
*/
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries, bool topological, QList<QgsPointXY> &topologyTestPoints );
OperationResult splitGeometry( const QList<QgsPointXY> &splitLine, QList<QgsGeometry> &newGeometries SIP_OUT, bool topological, QList<QgsPointXY> &topologyTestPoints SIP_OUT );

/**
* Replaces a part of this geometry with another line

0 comments on commit a4dac6a

Please sign in to comment.
You can’t perform that action at this time.