Skip to content
Permalink
Browse files

fix QgsAbstractGeometry Q_GADGET position

  • Loading branch information
3nids committed May 16, 2018
1 parent e8cf8c2 commit 5790bbcad601e29adc75a62d521fdc291417a320
@@ -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

0 comments on commit 5790bbc

Please sign in to comment.
You can’t perform that action at this time.