mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
qgssfcgalgeometry: Remove unused parameter in intersection methods
This commit is contained in:
parent
4df0b9014f
commit
e84e6fe84b
@ -517,13 +517,11 @@ be retrieved by calling :py:func:`~QgsSfcgalGeometry.lastError` on the
|
||||
geometry.
|
||||
%End
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom ) const;
|
||||
%Docstring
|
||||
Calculate the intersection of this and ``otherGeom``.
|
||||
|
||||
:param otherGeom: geometry to perform the operation
|
||||
:param parameters: can be used to specify parameters which control the
|
||||
intersection results
|
||||
|
||||
:return: new geometry
|
||||
|
||||
@ -532,13 +530,11 @@ be retrieved by calling :py:func:`~QgsSfcgalGeometry.lastError` on the
|
||||
returned geometry.
|
||||
%End
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom ) const;
|
||||
%Docstring
|
||||
Calculate the intersection of this and ``otherGeom``.
|
||||
|
||||
:param otherGeom: geometry to perform the operation
|
||||
:param parameters: can be used to specify parameters which control the
|
||||
intersection results
|
||||
|
||||
:return: new geometry
|
||||
|
||||
|
@ -517,13 +517,11 @@ be retrieved by calling :py:func:`~QgsSfcgalGeometry.lastError` on the
|
||||
geometry.
|
||||
%End
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom ) const;
|
||||
%Docstring
|
||||
Calculate the intersection of this and ``otherGeom``.
|
||||
|
||||
:param otherGeom: geometry to perform the operation
|
||||
:param parameters: can be used to specify parameters which control the
|
||||
intersection results
|
||||
|
||||
:return: new geometry
|
||||
|
||||
@ -532,13 +530,11 @@ be retrieved by calling :py:func:`~QgsSfcgalGeometry.lastError` on the
|
||||
returned geometry.
|
||||
%End
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom ) const;
|
||||
%Docstring
|
||||
Calculate the intersection of this and ``otherGeom``.
|
||||
|
||||
:param otherGeom: geometry to perform the operation
|
||||
:param parameters: can be used to specify parameters which control the
|
||||
intersection results
|
||||
|
||||
:return: new geometry
|
||||
|
||||
|
@ -390,7 +390,7 @@ bool QgsSfcgalGeometry::intersects( const QgsSfcgalGeometry &otherGeom ) const
|
||||
return out;
|
||||
}
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> QgsSfcgalGeometry::intersection( const QgsAbstractGeometry *otherGeom, const QgsGeometryParameters & ) const
|
||||
std::unique_ptr<QgsSfcgalGeometry> QgsSfcgalGeometry::intersection( const QgsAbstractGeometry *otherGeom ) const
|
||||
{
|
||||
sfcgal::errorHandler()->clearText( &mLastError );
|
||||
sfcgal::shared_geom otherShared = QgsSfcgalEngine::fromAbstractGeometry( otherGeom, &mLastError );
|
||||
@ -404,7 +404,7 @@ std::unique_ptr<QgsSfcgalGeometry> QgsSfcgalGeometry::intersection( const QgsAbs
|
||||
return resultGeom;
|
||||
}
|
||||
|
||||
std::unique_ptr<QgsSfcgalGeometry> QgsSfcgalGeometry::intersection( const QgsSfcgalGeometry &otherGeom, const QgsGeometryParameters & ) const
|
||||
std::unique_ptr<QgsSfcgalGeometry> QgsSfcgalGeometry::intersection( const QgsSfcgalGeometry &otherGeom ) const
|
||||
{
|
||||
sfcgal::errorHandler()->clearText( &mLastError );
|
||||
sfcgal::shared_geom result = QgsSfcgalEngine::intersection( mSfcgalGeom.get(), otherGeom.mSfcgalGeom.get(), &mLastError );
|
||||
|
@ -485,27 +485,25 @@ class CORE_EXPORT QgsSfcgalGeometry
|
||||
* Calculate the intersection of this and \a otherGeom.
|
||||
*
|
||||
* \param otherGeom geometry to perform the operation
|
||||
* \param parameters can be used to specify parameters which control the intersection results
|
||||
* \return new geometry
|
||||
*
|
||||
* If an error was encountered during the operation, more information can be retrieved
|
||||
* by calling lastError() on the returned geometry.
|
||||
*
|
||||
*/
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsAbstractGeometry *otherGeom ) const;
|
||||
|
||||
/**
|
||||
* Calculate the intersection of this and \a otherGeom.
|
||||
*
|
||||
* \param otherGeom geometry to perform the operation
|
||||
* \param parameters can be used to specify parameters which control the intersection results
|
||||
* \return new geometry
|
||||
*
|
||||
* If an error was encountered during the operation, more information can be retrieved
|
||||
* by calling lastError() on the returned geometry.
|
||||
*
|
||||
*/
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom, const QgsGeometryParameters ¶meters = QgsGeometryParameters() ) const;
|
||||
std::unique_ptr<QgsSfcgalGeometry> intersection( const QgsSfcgalGeometry &otherGeom ) const;
|
||||
|
||||
/**
|
||||
* Calculate the combination of this and \a geomList.
|
||||
|
Loading…
x
Reference in New Issue
Block a user