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
A rectangle specified with double values.
void clearCache() const override
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
const QgsSurface * cast(const QgsAbstractGeometry *geom) const
Cast the geom to a QgsSurface.
Type
The WKB type describes the number of dimensions a geometry has.
virtual void clearCache() const
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
QgsRectangle boundingBox() const override
Returns the minimal bounding box for the geometry.
Abstract base class for all geometries.
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.
static Type flatType(Type type)
Returns the flat type for a WKB type.
QgsRectangle mBoundingBox