mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	- Fix loss of coordinates when not rounding a particular dimension - Don't segmentize curved geometries - Add extra unit tests - Make createEmptyWithSameType() protected and skip from Python bindings. This method relies on low-level manipulation of the returned geometry which we do not want to expose as public/fixed API
		
			
				
	
	
		
			61 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/geometry/qgsmultisurface.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsMultiSurface: QgsGeometryCollection
 | 
						|
{
 | 
						|
%Docstring
 | 
						|
 Multi surface geometry collection.
 | 
						|
.. versionadded:: 2.10
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsmultisurface.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    QgsMultiSurface();
 | 
						|
    virtual QString geometryType() const;
 | 
						|
 | 
						|
    virtual void clear();
 | 
						|
 | 
						|
    virtual QgsMultiSurface *clone() const /Factory/;
 | 
						|
 | 
						|
    virtual QgsMultiSurface *toCurveType() 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/ );
 | 
						|
 | 
						|
    virtual bool insertGeometry( QgsAbstractGeometry *g /Transfer/, int index );
 | 
						|
 | 
						|
    virtual QgsAbstractGeometry *boundary() const /Factory/;
 | 
						|
 | 
						|
 | 
						|
 | 
						|
  protected:
 | 
						|
    virtual QgsMultiSurface *createEmptyWithSameType() const /Factory/;
 | 
						|
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/geometry/qgsmultisurface.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |