18 #ifndef QGSSURFACEV2_H 19 #define QGSSURFACEV2_H 21 #include "qgis_core.h" 47 if ( mBoundingBox.isNull() )
72 return static_cast<const QgsSurface *
>( geom );
83 #endif // QGSSURFACEV2_H
const QgsSurface * cast(const QgsAbstractGeometry *geom) const
Cast the geom to a QgsSurface.
A rectangle specified with double values.
void clearCache() const override
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
QgsWkbTypes::Type wkbType() const
Returns the WKB type of the geometry.
virtual QgsRectangle calculateBoundingBox() const
Default calculator for the minimal bounding box for the geometry.
Type
The WKB type describes the number of dimensions a geometry has.
QgsRectangle boundingBox() const override
Returns the minimal bounding box for the geometry.
Abstract base class for all geometries.
virtual void clearCache() const
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
static Type flatType(Type type)
Returns the flat type for a WKB type.
QgsRectangle mBoundingBox