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-10-27 14:29:31 +10:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
virtual QgsMultiCurve *clone() const /Factory/;
|
|
|
|
|
2017-09-26 09:03:28 +10:00
|
|
|
virtual void clear();
|
2017-09-19 13:53:56 +10:00
|
|
|
|
2017-09-26 09:03:28 +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-11-15 14:43:39 +10:00
|
|
|
virtual QDomElement asGml2( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
|
2015-05-15 15:41:56 +02:00
|
|
|
|
2017-11-15 14:43:39 +10:00
|
|
|
virtual QDomElement asGml3( QDomDocument &doc, int precision = 17, const QString &ns = "gml" ) const;
|
2017-04-27 07:55:22 +02:00
|
|
|
|
2017-11-15 14:43:39 +10:00
|
|
|
virtual QString asJson( int precision = 17 ) const;
|
2017-04-27 07:55:22 +02:00
|
|
|
|
|
|
|
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
|
2017-09-19 13:53:56 +10:00
|
|
|
|
2017-09-26 10:12:52 +10:00
|
|
|
virtual bool insertGeometry( QgsAbstractGeometry *g /Transfer/, int index );
|
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
2017-10-27 14:29:31 +10:00
|
|
|
protected:
|
|
|
|
|
|
|
|
virtual QgsMultiCurve *createEmptyWithSameType() const /Factory/;
|
|
|
|
|
|
|
|
|
2015-05-15 15:41:56 +02:00
|
|
|
};
|
2017-04-27 07:55:22 +02:00
|
|
|
|
2017-09-25 14:20:39 +10: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 *
|
|
|
|
************************************************************************/
|