QGIS API Documentation
2.6.0-Brighton
|
Abstract base class for simplify geometries using a specific algorithm. More...
#include <qgsgeometrysimplifier.h>
Public Member Functions | |
virtual | ~QgsAbstractGeometrySimplifier () |
virtual QgsGeometry * | simplify (QgsGeometry *geometry) const =0 |
Returns a simplified version the specified geometry. | |
virtual bool | simplifyGeometry (QgsGeometry *geometry) const =0 |
Simplifies the specified geometry. |
Static Public Member Functions | |
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 tolerance. | |
static bool | isGeneralizableByDeviceBoundingBox (const QVector< QPointF > &points, float mapToPixelTol=1.0f) |
Returns whether the device-geometry can be replaced by its BBOX when is applied the specified tolerance. |
Abstract base class for simplify geometries using a specific algorithm.
|
virtual |
|
static |
Returns whether the device-envelope can be replaced by its BBOX when is applied the specified tolerance.
|
static |
Returns whether the device-geometry can be replaced by its BBOX when is applied the specified tolerance.
|
pure virtual |
Returns a simplified version the specified geometry.
Implemented in QgsMapToPixelSimplifier, and QgsTopologyPreservingSimplifier.
|
pure virtual |
Simplifies the specified geometry.
Implemented in QgsMapToPixelSimplifier, and QgsTopologyPreservingSimplifier.