QGIS API Documentation
2.2.0-Valmiera
|
Go to the source code of this file.
Functions | |
static QgsRectangle | calculateBoundingBox (QGis::WkbType wkbType, unsigned char *wkb, size_t numPoints) |
Returns the BBOX of the specified WKB-point stream. | |
static bool | generalizeWkbGeometry (QGis::WkbType wkbType, unsigned char *sourceWkb, size_t sourceWkbSize, unsigned char *targetWkb, size_t &targetWkbSize, const QgsRectangle &envelope, bool writeHeader) |
Generalize the WKB-geometry using the BBOX of the original geometry. |
|
inlinestatic |
Returns the BBOX of the specified WKB-point stream.
Definition at line 43 of file qgsmaptopixelgeometrysimplifier.cpp.
References MathUtils::max(), and QGis::wkbDimensions().
Referenced by QgsMapToPixelSimplifier::simplifyWkbGeometry().
|
inlinestatic |
Generalize the WKB-geometry using the BBOX of the original geometry.
Definition at line 68 of file qgsmaptopixelgeometrysimplifier.cpp.
References QgsApplication::endian(), QGis::flatType(), QGis::singleType(), QGis::wkbDimensions(), QGis::WKBLineString, QGis::WKBPolygon, QgsRectangle::xMaximum(), QgsRectangle::xMinimum(), QgsRectangle::yMaximum(), and QgsRectangle::yMinimum().
Referenced by QgsMapToPixelSimplifier::simplifyWkbGeometry().