QGIS/python/core/geometry/qgsmultisurfacev2.sip

23 lines
796 B
Plaintext
Raw Normal View History

2015-05-15 15:41:56 +02:00
class QgsMultiSurfaceV2: public QgsGeometryCollectionV2
{
%TypeHeaderCode
#include <qgsmultisurfacev2.h>
%End
public:
virtual QString geometryType() const;
QgsAbstractGeometryV2* clone() const;
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;
/**Adds a geometry and takes ownership. Returns true in case of success*/
virtual bool addGeometry( QgsAbstractGeometryV2* g );
};