Skip to content

Commit 133d16c

Browse files
committed
use SIP_SKIP (followup 5c3a720)
1 parent 5c3a720 commit 133d16c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/core/geometry/qgsgeometry.h

+2-12
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,7 @@ typedef QVector<QVector<QgsPointXY>> QgsPolygon;
5858
#endif
5959

6060
//! A collection of QgsPoints that share a common collection of attributes
61-
#ifndef SIP_RUN
62-
typedef QVector<QgsPointXY> QgsMultiPoint;
63-
#else
6461
typedef QVector<QgsPointXY> QgsMultiPoint;
65-
#endif
6662

6763
//! A collection of QgsPolylines that share a common collection of attributes
6864
#ifndef SIP_RUN
@@ -599,15 +595,12 @@ class CORE_EXPORT QgsGeometry
599595
*/
600596
QgsGeometry orientedMinimumBoundingBox( double &area SIP_OUT, double &angle SIP_OUT, double &width SIP_OUT, double &height SIP_OUT ) const;
601597

602-
#ifndef SIP_RUN
603-
604598
/**
605599
* Returns the oriented minimum bounding box for the geometry, which is the smallest (by area)
606600
* rotated rectangle which fully encompasses the geometry.
607601
* \since QGIS 3.0
608602
*/
609-
QgsGeometry orientedMinimumBoundingBox( ) const;
610-
#endif
603+
QgsGeometry orientedMinimumBoundingBox() const SIP_SKIP;
611604

612605
/**
613606
* Returns the minimal enclosing circle for the geometry.
@@ -618,15 +611,12 @@ class CORE_EXPORT QgsGeometry
618611
*/
619612
QgsGeometry minimalEnclosingCircle( QgsPointXY &center SIP_OUT, double &radius SIP_OUT, unsigned int segments = 36 ) const;
620613

621-
#ifndef SIP_RUN
622-
623614
/**
624615
* Returns the minimal enclosing circle for the geometry.
625616
* \param segments Number of segments used to segment geometry. \see QgsEllipse::toPolygon()
626617
* \since QGIS 3.0
627618
*/
628-
QgsGeometry minimalEnclosingCircle( unsigned int segments = 36 ) const;
629-
#endif
619+
QgsGeometry minimalEnclosingCircle( unsigned int segments = 36 ) const SIP_SKIP;
630620

631621
/**
632622
* Attempts to orthogonalize a line or polygon geometry by shifting vertices to make the geometries

0 commit comments

Comments
 (0)