2017-04-27 07:55:22 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/geometry/qgsmulticurve.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMultiCurve: QgsGeometryCollection
|
2015-05-15 15:41:56 +02:00
|
|
|
{
|
2017-04-27 07:55:22 +02:00
|
|
|
%Docstring
|
|
|
|
Multi curve geometry collection.
|
|
|
|
.. versionadded:: 2.10
|
2015-05-15 15:41:56 +02:00
|
|
|
%End
|
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmulticurve.h"
|
|
|
|
%End
|
2015-05-15 15:41:56 +02:00
|
|
|
public:
|
2017-04-27 07:55:22 +02:00
|
|
|
QgsMultiCurve();
|
2015-05-15 15:41:56 +02:00
|
|
|
virtual QString geometryType() const;
|
2017-09-19 14:53:02 +10:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QgsMultiCurve *clone() const /Factory/;
|
|
|
|
|
2017-09-19 13:53:56 +10:00
|
|
|
virtual QgsMultiCurve *toCurveType() const /Factory/;
|
|
|
|
|
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;
|
2015-05-15 15:41:56 +02:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QDomElement asGML3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
|
|
|
|
|
|
|
|
virtual QString asJSON( int precision = 17 ) const;
|
|
|
|
|
|
|
|
|
|
|
|
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
|
2017-09-19 13:53:56 +10:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
%Docstring
|
|
|
|
Adds a geometry and takes ownership. Returns true in case of success
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
|
|
|
|
|
|
|
QgsMultiCurve *reversed() const /Factory/;
|
|
|
|
%Docstring
|
|
|
|
Returns a copy of the multi curve, where each component curve has had its line direction reversed.
|
|
|
|
.. versionadded:: 2.14
|
|
|
|
:rtype: QgsMultiCurve
|
|
|
|
%End
|
2015-11-18 16:24:27 +11:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QgsAbstractGeometry *boundary() const /Factory/;
|
2016-07-27 15:35:00 +10:00
|
|
|
|
2017-05-12 10:31:59 +02:00
|
|
|
|
2017-09-19 13:53:56 +10:00
|
|
|
|
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/qgsmulticurve.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|