mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
class QgsMultiLineString: public QgsMultiCurve
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsmultilinestring.h>
|
|
%End
|
|
|
|
public:
|
|
virtual QString geometryType() const;
|
|
virtual QgsMultiLineString* clone() const /Factory/;
|
|
|
|
bool fromWkt( const QString& wkt );
|
|
|
|
// inherited: int wkbSize() const;
|
|
// inherited: unsigned char* asWkb( int& binarySize ) const;
|
|
// inherited: QString asWkt( int precision = 17 ) const;
|
|
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;
|
|
|
|
/** Adds a geometry and takes ownership. Returns true in case of success*/
|
|
virtual bool addGeometry( QgsAbstractGeometry* g /Transfer/ );
|
|
|
|
/** Returns the geometry converted to the more generic curve type QgsMultiCurve
|
|
@return the converted geometry. Caller takes ownership*/
|
|
QgsAbstractGeometry* toCurveType() const /Factory/;
|
|
|
|
protected:
|
|
|
|
virtual bool wktOmitChildType() const;
|
|
};
|