@@ -58,11 +58,7 @@ typedef QVector<QVector<QgsPointXY>> QgsPolygon;
58
58
#endif
59
59
60
60
// ! A collection of QgsPoints that share a common collection of attributes
61
- #ifndef SIP_RUN
62
- typedef QVector<QgsPointXY> QgsMultiPoint;
63
- #else
64
61
typedef QVector<QgsPointXY> QgsMultiPoint;
65
- #endif
66
62
67
63
// ! A collection of QgsPolylines that share a common collection of attributes
68
64
#ifndef SIP_RUN
@@ -599,15 +595,12 @@ class CORE_EXPORT QgsGeometry
599
595
*/
600
596
QgsGeometry orientedMinimumBoundingBox ( double &area SIP_OUT, double &angle SIP_OUT, double &width SIP_OUT, double &height SIP_OUT ) const ;
601
597
602
- #ifndef SIP_RUN
603
-
604
598
/* *
605
599
* Returns the oriented minimum bounding box for the geometry, which is the smallest (by area)
606
600
* rotated rectangle which fully encompasses the geometry.
607
601
* \since QGIS 3.0
608
602
*/
609
- QgsGeometry orientedMinimumBoundingBox ( ) const ;
610
- #endif
603
+ QgsGeometry orientedMinimumBoundingBox () const SIP_SKIP;
611
604
612
605
/* *
613
606
* Returns the minimal enclosing circle for the geometry.
@@ -618,15 +611,12 @@ class CORE_EXPORT QgsGeometry
618
611
*/
619
612
QgsGeometry minimalEnclosingCircle ( QgsPointXY ¢er SIP_OUT, double &radius SIP_OUT, unsigned int segments = 36 ) const ;
620
613
621
- #ifndef SIP_RUN
622
-
623
614
/* *
624
615
* Returns the minimal enclosing circle for the geometry.
625
616
* \param segments Number of segments used to segment geometry. \see QgsEllipse::toPolygon()
626
617
* \since QGIS 3.0
627
618
*/
628
- QgsGeometry minimalEnclosingCircle ( unsigned int segments = 36 ) const ;
629
- #endif
619
+ QgsGeometry minimalEnclosingCircle ( unsigned int segments = 36 ) const SIP_SKIP;
630
620
631
621
/* *
632
622
* Attempts to orthogonalize a line or polygon geometry by shifting vertices to make the geometries
0 commit comments