Skip to content
Permalink
Browse files

revert changes in qgsgeometry.sip

  • Loading branch information
lbartoletti committed Jun 11, 2020
1 parent bd7e9d6 commit e69116fb342adf671ca163d247beae8a04be784b
Showing with 16 additions and 0 deletions.
  1. +16 −0 python/core/auto_generated/geometry/qgsgeometry.sip.in
@@ -839,6 +839,22 @@ Rotate this geometry around the Z axis
:return: OperationResult a result code: success or reason of failure
%End

OperationResult splitGeometry( const QVector<QgsPointXY> &splitLine, QVector<QgsGeometry> &newGeometries /Out/, bool topological, QVector<QgsPointXY> &topologyTestPoints /Out/, bool splitFeature = true ) /Deprecated/;
%Docstring
Splits this geometry according to a given line.

:param splitLine: the line that splits the geometry
\param[out] newGeometries list of new geometries that have been created with the split
:param topological: ``True`` if topological editing is enabled
\param[out] topologyTestPoints points that need to be tested for topological completeness in the dataset
:param splitFeature: Set to True if you want to split a feature, otherwise set to False to split parts

:return: OperationResult a result code: success or reason of failure

.. deprecated:: QGIS 3.12
- will be removed in QGIS 4.0. Use the variant which accepts QgsPoint objects instead of QgsPointXY.
%End

OperationResult splitGeometry( const QgsPointSequence &splitLine, QVector<QgsGeometry> &newGeometries /Out/, bool topological, QgsPointSequence &topologyTestPoints /Out/, bool splitFeature = true );
%Docstring
Splits this geometry according to a given line.

0 comments on commit e69116f

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