2016-08-06 11:01:42 +02:00
|
|
|
class QgsMultiSurface: public QgsGeometryCollection
|
2015-05-15 15:41:56 +02:00
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
2016-08-07 17:33:22 +02:00
|
|
|
#include <qgsmultisurface.h>
|
2015-05-15 15:41:56 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
virtual QString geometryType() const;
|
2016-11-05 12:10:25 +08:00
|
|
|
virtual QgsMultiSurface* clone() const /Factory/;
|
2015-05-15 15:41:56 +02:00
|
|
|
|
|
|
|
bool fromWkt( const QString& wkt );
|
|
|
|
|
|
|
|
// inherited: int wkbSize() const;
|
|
|
|
// inherited: unsigned char* asWkb( int& binarySize ) const;
|
|
|
|
// inherited: QString asWkt( int precision = 17 ) const;
|
|
|
|
QDomElement asGML2( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
|
|
|
|
QDomElement asGML3( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
|
|
|
|
QString asJSON( int precision = 17 ) const;
|
|
|
|
|
|
|
|
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Adds a geometry and takes ownership. Returns true in case of success*/
|
2016-09-05 17:01:48 +02:00
|
|
|
virtual bool addGeometry( QgsAbstractGeometry* g /Transfer/ );
|
2015-05-29 17:59:52 +02:00
|
|
|
|
2016-08-06 11:01:42 +02:00
|
|
|
virtual QgsAbstractGeometry* boundary() const /Factory/;
|
2016-07-27 15:35:00 +10:00
|
|
|
|
2015-07-29 11:52:14 +02:00
|
|
|
/** Returns a geometry without curves. Caller takes ownership*/
|
2016-08-06 11:01:42 +02:00
|
|
|
QgsAbstractGeometry* segmentize() const /Factory/;
|
2015-05-15 15:41:56 +02:00
|
|
|
};
|