qgssfcgalgeometry: Add missing SIP_OUT parameter to combine

This commit is contained in:
Jean Felder 2025-08-05 15:10:28 +02:00 committed by Nyall Dawson
parent 1391badd27
commit d3c8c2d37f
3 changed files with 7 additions and 7 deletions

View File

@ -417,14 +417,14 @@ Calculate the intersection of this and ``otherGeom``.
- errorMsg: Error message returned by SFGCAL
%End
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg ) const;
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg /Out/ = 0 ) const;
%Docstring
Calculate the combination of this and ``geomList``.
:param geomList: list of geometries to perform the operation
:param errorMsg: Error message returned by SFGCAL
:return: new geometry
:return: - new geometry
- errorMsg: Error message returned by SFGCAL
%End
std::unique_ptr<QgsSfcgalGeometry> difference( const QgsAbstractGeometry *otherGeom, QString *errorMsg /Out/ = 0, const QgsGeometryParameters &parameters = QgsGeometryParameters() ) const;

View File

@ -417,14 +417,14 @@ Calculate the intersection of this and ``otherGeom``.
- errorMsg: Error message returned by SFGCAL
%End
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg ) const;
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg /Out/ = 0 ) const;
%Docstring
Calculate the combination of this and ``geomList``.
:param geomList: list of geometries to perform the operation
:param errorMsg: Error message returned by SFGCAL
:return: new geometry
:return: - new geometry
- errorMsg: Error message returned by SFGCAL
%End
std::unique_ptr<QgsSfcgalGeometry> difference( const QgsAbstractGeometry *otherGeom, QString *errorMsg /Out/ = 0, const QgsGeometryParameters &parameters = QgsGeometryParameters() ) const;

View File

@ -375,7 +375,7 @@ class CORE_EXPORT QgsSfcgalGeometry
* \param errorMsg Error message returned by SFGCAL
* \return new geometry
*/
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg ) const;
std::unique_ptr<QgsSfcgalGeometry> combine( const QVector<QgsAbstractGeometry *> &geomList, QString *errorMsg SIP_OUT = nullptr ) const;
/**
* Calculate the difference of this and \a otherGeom.