QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
qgsmaptopixelgeometrysimplifier.cpp File Reference
#include <limits>
#include "qgsmaptopixelgeometrysimplifier.h"
#include "qgsapplication.h"
Include dependency graph for qgsmaptopixelgeometrysimplifier.cpp:

Functions

static QgsRectangle calculateBoundingBox (QGis::WkbType wkbType, unsigned char *wkb, size_t numPoints)
 Returns the BBOX of the specified WKB-point stream.
static bool generalizeWkbGeometryByBoundingBox (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.

Function Documentation

static QgsRectangle calculateBoundingBox ( QGis::WkbType  wkbType,
unsigned char *  wkb,
size_t  numPoints 
)
inlinestatic

Returns the BBOX of the specified WKB-point stream.

static bool generalizeWkbGeometryByBoundingBox ( QGis::WkbType  wkbType,
unsigned char *  sourceWkb,
size_t  sourceWkbSize,
unsigned char *  targetWkb,
size_t &  targetWkbSize,
const QgsRectangle envelope,
bool  writeHeader 
)
static

Generalize the WKB-geometry using the BBOX of the original geometry.