QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
32 for (
int i = 0, numPoints = points.size(); i < numPoints; ++i )
void combineExtentWith(const QgsRectangle &rect)
Expands the rectangle so that it covers both the original rectangle and the given rectangle.
QgsGeometry simplify(const QgsGeometry &geometry) const override
Returns a simplified version the specified geometry.
double yMinimum() const SIP_HOLDGIL
Returns the y minimum value (bottom side of rectangle).
void setMinimal() SIP_HOLDGIL
Set a rectangle so that min corner is at max and max corner is at min.
A rectangle specified with double values.
QgsTopologyPreservingSimplifier(double tolerance)
Constructor for QgsTopologyPreservingSimplifier.
double xMaximum() const SIP_HOLDGIL
Returns the x maximum value (right side of rectangle).
double xMinimum() const SIP_HOLDGIL
Returns the x minimum value (left side of rectangle).
QgsGeometry simplify(double tolerance) const
Returns a simplified version of this geometry using a specified tolerance value.
double yMaximum() const SIP_HOLDGIL
Returns the y maximum value (top side of rectangle).
A geometry is the spatial representation of a feature.
static bool isGeneralizableByDeviceBoundingBox(const QgsRectangle &envelope, float mapToPixelTol=1.0f)
Returns whether the device-envelope can be replaced by its BBOX when is applied the specified toleran...
double mTolerance
Distance tolerance for the simplification.