22 , mSimplifyMethod( simplifyMethod )
42 mP =
const_cast< unsigned char *
>((
const unsigned char * ) wkbPtr );
SimplifyAlgorithm simplifyAlgorithm() const
Gets the local simplification algorithm of the vector layer managed.
SimplifyAlgorithm
Types of simplification algorithms that can be used.
QgsConstWkbSimplifierPtr(const unsigned char *p, int size, const QgsVectorSimplifyMethod &simplifyMethod)
Constructor.
No simplification can be applied.
const QgsConstWkbPtr & operator>>(double &v) const
double tolerance() const
Gets the tolerance of simplification in map units.
The geometries can be fully simplified by its BoundingBox.
virtual bool simplifyPoints(QgsWKBTypes::Type wkbType, QgsConstWkbPtr &sourceWkbPtr, QPolygonF &targetPoints) const
Simplifies the specified WKB-point array.
This class contains information how to simplify geometries fetched from a vector layer.
bool forceLocalOptimization() const
Gets where the simplification executes, after fetch the geometries from provider, or when supported...
SimplifyHints simplifyHints() const
Gets the simplification hints of the vector layer managed.
const QgsConstWkbPtr & operator>>(double &v) const
Read a double.
QgsWKBTypes::Type mWkbType