QGIS/python/core/auto_generated/geometry/qgssurface.sip.in
Jean Felder e99d4d2306 qgssurface: Do not define surfaceToPolygon
`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.
2024-09-09 06:16:25 +02:00

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 *
************************************************************************/