QGIS/python/core/geometry/qgssurface.sip
2017-04-30 11:29:45 +02:00

47 lines
1.5 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/geometry/qgssurface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsSurface: QgsAbstractGeometry
{
%TypeHeaderCode
#include "qgssurface.h"
%End
public:
virtual QgsPolygonV2 *surfaceToPolygon() const = 0 /Factory/;
%Docstring
Get a polygon representation of this surface.
Ownership is transferred to the caller.
:rtype: QgsPolygonV2
%End
virtual QgsRectangle boundingBox() const;
%Docstring
Returns the minimal bounding box for the geometry
:rtype: QgsRectangle
%End
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.pl again *
************************************************************************/