2017-04-27 07:55:22 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/geometry/qgsmultisurface.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMultiSurface: QgsGeometryCollection
|
2015-05-15 15:41:56 +02:00
|
|
|
{
|
2017-04-27 07:55:22 +02:00
|
|
|
%Docstring
|
|
|
|
Multi surface geometry collection.
|
|
|
|
.. versionadded:: 2.10
|
|
|
|
%End
|
|
|
|
|
2015-05-15 15:41:56 +02:00
|
|
|
%TypeHeaderCode
|
2017-04-27 07:55:22 +02:00
|
|
|
#include "qgsmultisurface.h"
|
2015-05-15 15:41:56 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-04-27 07:55:22 +02:00
|
|
|
QgsMultiSurface();
|
2015-05-15 15:41:56 +02:00
|
|
|
virtual QString geometryType() const;
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QgsMultiSurface *clone() const /Factory/;
|
|
|
|
|
2015-05-15 15:41:56 +02:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual bool fromWkt( const QString &wkt );
|
2015-05-15 15:41:56 +02:00
|
|
|
|
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QDomElement asGML2( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
|
|
|
|
|
|
|
|
virtual QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
|
|
|
|
|
|
|
|
virtual QString asJSON( int precision = 17 ) const;
|
2015-05-15 15:41:56 +02:00
|
|
|
|
2015-05-29 17:59:52 +02:00
|
|
|
|
2016-07-27 15:35:00 +10:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual bool addGeometry( QgsAbstractGeometry *g ) /Transfer/;
|
|
|
|
%Docstring
|
|
|
|
Adds a geometry and takes ownership. Returns true in case of success
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
|
|
|
|
|
|
|
virtual QgsAbstractGeometry *boundary() const /Factory/;
|
2015-05-15 15:41:56 +02:00
|
|
|
};
|
2017-04-27 07:55:22 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/geometry/qgsmultisurface.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|