2017-04-27 07:55:22 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/geometry/qgsmultilinestring.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMultiLineString: QgsMultiCurve
|
2015-05-15 15:41:56 +02:00
|
|
|
{
|
2017-04-27 07:55:22 +02:00
|
|
|
%Docstring
|
|
|
|
Multi line string geometry collection.
|
|
|
|
.. versionadded:: 2.10
|
2015-05-15 15:41:56 +02:00
|
|
|
%End
|
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmultilinestring.h"
|
|
|
|
%End
|
2015-05-15 15:41:56 +02:00
|
|
|
public:
|
2017-04-27 07:55:22 +02:00
|
|
|
QgsMultiLineString();
|
2017-09-26 08:33:47 +10:00
|
|
|
|
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 QgsMultiLineString *clone() const /Factory/;
|
|
|
|
|
2017-09-26 06:29:36 +10:00
|
|
|
virtual void clear();
|
|
|
|
|
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-09-26 08:33:47 +10:00
|
|
|
virtual bool insertGeometry( QgsAbstractGeometry *g /Transfer/, int index );
|
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
|
2017-09-19 13:53:56 +10:00
|
|
|
virtual QgsMultiCurve *toCurveType() const /Factory/;
|
2015-10-16 07:48:42 +11:00
|
|
|
|
2017-04-27 07:55:22 +02:00
|
|
|
%Docstring
|
|
|
|
Returns the geometry converted to the more generic curve type QgsMultiCurve
|
|
|
|
:return: the converted geometry. Caller takes ownership*
|
2017-09-19 13:53:56 +10:00
|
|
|
:rtype: QgsMultiCurve
|
2017-04-27 07:55:22 +02:00
|
|
|
%End
|
2016-04-29 11:53:34 +02:00
|
|
|
|
2015-10-16 07:48:42 +11:00
|
|
|
protected:
|
2017-10-27 14:29:31 +10:00
|
|
|
virtual QgsMultiLineString *createEmptyWithSameType() const /Factory/;
|
2015-10-16 07:48:42 +11:00
|
|
|
|
|
|
|
virtual bool wktOmitChildType() const;
|
2017-09-19 14:53:02 +10:00
|
|
|
|
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/qgsmultilinestring.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|