mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
fix QgsAbstractGeometry Q_GADGET position
This commit is contained in:
parent
e8cf8c2f1c
commit
5790bbcad6
@ -25,9 +25,6 @@ class QgsAbstractGeometry
|
||||
%TypeHeaderCode
|
||||
#include "qgsabstractgeometry.h"
|
||||
%End
|
||||
public:
|
||||
static const QMetaObject staticMetaObject;
|
||||
|
||||
%ConvertToSubClassCode
|
||||
if ( qgsgeometry_cast<QgsPoint *>( sipCpp ) != nullptr )
|
||||
sipType = sipType_QgsPoint;
|
||||
@ -58,6 +55,9 @@ class QgsAbstractGeometry
|
||||
else
|
||||
sipType = 0;
|
||||
%End
|
||||
public:
|
||||
static const QMetaObject staticMetaObject;
|
||||
|
||||
public:
|
||||
|
||||
enum SegmentationToleranceType
|
||||
|
@ -52,7 +52,6 @@ typedef QVector< QVector< QVector< QgsPoint > > > QgsCoordinateSequence;
|
||||
*/
|
||||
class CORE_EXPORT QgsAbstractGeometry
|
||||
{
|
||||
Q_GADGET
|
||||
|
||||
#ifdef SIP_RUN
|
||||
SIP_CONVERT_TO_SUBCLASS_CODE
|
||||
@ -86,6 +85,9 @@ class CORE_EXPORT QgsAbstractGeometry
|
||||
sipType = 0;
|
||||
SIP_END
|
||||
#endif
|
||||
|
||||
Q_GADGET
|
||||
|
||||
public:
|
||||
|
||||
//! Segmentation tolerance as maximum angle or maximum difference between approximation and circle
|
||||
|
Loading…
x
Reference in New Issue
Block a user