mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
`surfaceToPolygon` is only useful for `QgsCurvePolygon` which inherits from `QgsSurface`. The next commit will introduce `QgsPolyhedralSurface` which also inherits from `QgsSurface`. For `QgsPolyhedralSurface`, it does not make sense to have `surfaceToPolygon`. By moving `surfaceToPolygon` definition in `QgsCurvePolygon` this allows to keep the functionality.
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/geometry/qgssurface.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSurface: QgsAbstractGeometry
|
|
{
|
|
%Docstring(signature="appended")
|
|
Surface geometry type.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssurface.h"
|
|
%End
|
|
public:
|
|
|
|
virtual QgsBox3D boundingBox3D() const;
|
|
|
|
virtual bool isValid( QString &error /Out/, Qgis::GeometryValidityFlags flags = Qgis::GeometryValidityFlags() ) const;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
virtual void clearCache() const;
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/geometry/qgssurface.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|