QGIS/python/core/geometry/qgspolygonv2.sip

34 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-05-15 15:41:56 +02:00
class QgsPolygonV2: public QgsCurvePolygonV2
{
%TypeHeaderCode
#include <qgspolygonv2.h>
%End
public:
QgsPolygonV2();
bool operator==( const QgsPolygonV2& other ) const;
bool operator!=( const QgsPolygonV2& other ) const;
2015-05-15 15:41:56 +02:00
virtual QString geometryType() const;
virtual QgsPolygonV2* clone() const;
2015-05-15 15:41:56 +02:00
virtual bool fromWkb( QgsConstWkbPtr wkb );
2016-01-28 10:30:06 +01:00
2015-05-15 15:41:56 +02:00
// inherited: bool fromWkt( const QString &wkt );
int wkbSize() const;
unsigned char* asWkb( int& binarySize ) const;
// inherited: QString asWkt( int precision = 17 ) const;
// inherited: QDomElement asGML2( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
// inherited: QDomElement asGML3( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
// inherited: QString asJSON( int precision = 17 ) const;
QgsPolygonV2* surfaceToPolygon() const;
void addInteriorRing( QgsCurveV2* ring /Transfer/ );
//overridden to handle LineString25D rings
virtual void setExteriorRing( QgsCurveV2* ring /Transfer/ );
2016-01-28 10:30:06 +01:00
2015-05-15 15:41:56 +02:00
};