33  for ( 
int i = 0, numPoints = points.size(); i < numPoints; ++i )
 
 
   59  std::unique_ptr< QgsAbstractGeometry > simplifiedGeom( 
geos.simplify( 
mTolerance ) );
 
   60  return simplifiedGeom.release();
 
 
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...
 
Abstract base class for all geometries.
 
A geometry is the spatial representation of a feature.
 
QgsGeometry simplify(double tolerance) const
Returns a simplified version of this geometry using a specified tolerance value.
 
Does vector analysis using the GEOS library and handles import, export, and exception handling.
 
A rectangle specified with double values.
 
void combineExtentWith(const QgsRectangle &rect)
Expands the rectangle so that it covers both the original rectangle and the given rectangle.
 
void setNull()
Mark a rectangle as being null (holding no spatial information).
 
QgsGeometry simplify(const QgsGeometry &geometry) const override
Returns a simplified version the specified geometry.
 
double mTolerance
Distance tolerance for the simplification.
 
QgsTopologyPreservingSimplifier(double tolerance)
Constructor for QgsTopologyPreservingSimplifier.
 
Contains geos related utilities and functions.