mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
63 lines
2.1 KiB
Plaintext
63 lines
2.1 KiB
Plaintext
/************************************************************************
|
|
* 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
|
|
{
|
|
%Docstring
|
|
Multi line string geometry collection.
|
|
.. versionadded:: 2.10
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsmultilinestring.h"
|
|
%End
|
|
public:
|
|
QgsMultiLineString();
|
|
virtual QString geometryType() const;
|
|
virtual QgsMultiLineString *clone() const /Factory/;
|
|
|
|
|
|
virtual bool fromWkt( const QString &wkt );
|
|
|
|
|
|
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;
|
|
|
|
|
|
virtual bool addGeometry( QgsAbstractGeometry *g /Transfer/ );
|
|
%Docstring
|
|
Adds a geometry and takes ownership. Returns true in case of success
|
|
:rtype: bool
|
|
%End
|
|
|
|
virtual QgsAbstractGeometry *toCurveType() const /Factory/;
|
|
|
|
%Docstring
|
|
Returns the geometry converted to the more generic curve type QgsMultiCurve
|
|
:return: the converted geometry. Caller takes ownership*
|
|
:rtype: QgsAbstractGeometry
|
|
%End
|
|
|
|
protected:
|
|
|
|
virtual bool wktOmitChildType() const;
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/geometry/qgsmultilinestring.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|