mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
fix qgsgeometry sip
This commit is contained in:
parent
629f46d308
commit
5c3a72014a
@ -577,13 +577,6 @@ Returns true if WKB of the geometry is of WKBMulti* type
|
||||
:rtype: QgsGeometry
|
||||
%End
|
||||
|
||||
QgsGeometry orientedMinimumBoundingBox( ) const;
|
||||
%Docstring
|
||||
Returns the oriented minimum bounding box for the geometry, which is the smallest (by area)
|
||||
rotated rectangle which fully encompasses the geometry.
|
||||
.. versionadded:: 3.0
|
||||
:rtype: QgsGeometry
|
||||
%End
|
||||
|
||||
QgsGeometry minimalEnclosingCircle( QgsPointXY ¢er /Out/, double &radius /Out/, unsigned int segments = 36 ) const;
|
||||
%Docstring
|
||||
@ -595,13 +588,6 @@ Returns true if WKB of the geometry is of WKBMulti* type
|
||||
:rtype: QgsGeometry
|
||||
%End
|
||||
|
||||
QgsGeometry minimalEnclosingCircle( unsigned int segments = 36 ) const;
|
||||
%Docstring
|
||||
Returns the minimal enclosing circle for the geometry.
|
||||
.. seealso:: QgsEllipse.toPolygon()
|
||||
.. versionadded:: 3.0
|
||||
:rtype: QgsGeometry
|
||||
%End
|
||||
|
||||
QgsGeometry orthogonalize( double tolerance = 1.0E-8, int maxIterations = 1000, double angleThreshold = 15.0 ) const;
|
||||
%Docstring
|
||||
|
@ -599,12 +599,15 @@ class CORE_EXPORT QgsGeometry
|
||||
*/
|
||||
QgsGeometry orientedMinimumBoundingBox( double &area SIP_OUT, double &angle SIP_OUT, double &width SIP_OUT, double &height SIP_OUT ) const;
|
||||
|
||||
#ifndef SIP_RUN
|
||||
|
||||
/**
|
||||
* Returns the oriented minimum bounding box for the geometry, which is the smallest (by area)
|
||||
* rotated rectangle which fully encompasses the geometry.
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
QgsGeometry orientedMinimumBoundingBox( ) const;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns the minimal enclosing circle for the geometry.
|
||||
@ -615,12 +618,15 @@ class CORE_EXPORT QgsGeometry
|
||||
*/
|
||||
QgsGeometry minimalEnclosingCircle( QgsPointXY ¢er SIP_OUT, double &radius SIP_OUT, unsigned int segments = 36 ) const;
|
||||
|
||||
#ifndef SIP_RUN
|
||||
|
||||
/**
|
||||
* Returns the minimal enclosing circle for the geometry.
|
||||
* \param segments Number of segments used to segment geometry. \see QgsEllipse::toPolygon()
|
||||
* \since QGIS 3.0
|
||||
*/
|
||||
QgsGeometry minimalEnclosingCircle( unsigned int segments = 36 ) const;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Attempts to orthogonalize a line or polygon geometry by shifting vertices to make the geometries
|
||||
|
Loading…
x
Reference in New Issue
Block a user