30 return error.isEmpty();
34 const bool res =
geos.isValid( &error, flags & Qgis::GeometryValidityFlag::AllowSelfTouchingHoles,
nullptr );
virtual void clearCache() const
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
Does vector analysis using the geos library and handles import, export, exception handling*.
A rectangle specified with double values.
QgsRectangle mBoundingBox
void clearCache() const override
Clears any cached parameters associated with the geometry, e.g., bounding boxes.
QString mValidityFailureReason
bool isValid(QString &error, Qgis::GeometryValidityFlags flags=Qgis::GeometryValidityFlags()) const override
Checks validity of the geometry, and returns true if the geometry is valid.
Contains geos related utilities and functions.