QGIS/python/core/geometry/qgsmultilinestringv2.sip

21 lines
638 B
Plaintext
Raw Normal View History

class QgsMultiLineStringV2: public QgsMultiCurveV2
2015-05-15 15:41:56 +02:00
{
%TypeHeaderCode
#include <qgsmultilinestringv2.h>
%End
public:
virtual QString geometryType() const;
virtual QgsMultiLineStringV2* clone() const;
2015-05-15 15:41:56 +02:00
bool fromWkt( const QString& wkt );
QDomElement asGML2( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
QDomElement asGML3( QDomDocument& doc, int precision = 17, const QString& ns = "gml" ) const;
QString asJSON( int precision = 17 ) const;
2015-07-29 11:52:14 +02:00
/** Adds a geometry and takes ownership. Returns true in case of success*/
2015-05-15 15:41:56 +02:00
virtual bool addGeometry( QgsAbstractGeometryV2* g );
};