QGIS API Documentation  2.14.0-Essen
Functions
qgsmaptopixelgeometrysimplifier.cpp File Reference
#include <limits>
#include "qgsmaptopixelgeometrysimplifier.h"
#include "qgsapplication.h"
#include "qgslogger.h"
Include dependency graph for qgsmaptopixelgeometrysimplifier.cpp:

Go to the source code of this file.

Functions

static QgsRectangle calculateBoundingBox (QGis::WkbType wkbType, QgsConstWkbPtr wkbPtr, int numPoints)
 Returns the BBOX of the specified WKB-point stream. More...
 
static bool generalizeWkbGeometryByBoundingBox (QGis::WkbType wkbType, QgsConstWkbPtr sourceWkbPtr, QgsWkbPtr targetWkbPtr, int &targetWkbSize, const QgsRectangle &envelope, bool writeHeader)
 Generalize the WKB-geometry using the BBOX of the original geometry. More...
 

Function Documentation

static QgsRectangle calculateBoundingBox ( QGis::WkbType  wkbType,
QgsConstWkbPtr  wkbPtr,
int  numPoints 
)
inlinestatic

Returns the BBOX of the specified WKB-point stream.

Definition at line 47 of file qgsmaptopixelgeometrysimplifier.cpp.

static bool generalizeWkbGeometryByBoundingBox ( QGis::WkbType  wkbType,
QgsConstWkbPtr  sourceWkbPtr,
QgsWkbPtr  targetWkbPtr,
int &  targetWkbSize,
const QgsRectangle envelope,
bool  writeHeader 
)
static

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

Definition at line 67 of file qgsmaptopixelgeometrysimplifier.cpp.