QGIS API Documentation  2.17.0-Master (06698cd)
Macros | Functions
qgsmaptopixelgeometrysimplifier.cpp File Reference
#include <limits>
#include "qgsmaptopixelgeometrysimplifier.h"
#include "qgsapplication.h"
#include "qgslogger.h"
#include "simplify/effectivearea.h"
#include "simplify/effectivearea.c"
Include dependency graph for qgsmaptopixelgeometrysimplifier.cpp:

Go to the source code of this file.

Macros

#define FLAGS_GET_Z(flags)   ( ( flags ) & 0x01 )
 
#define FP_MAX   qMax
 
#define LW_MSG_MAXLEN   256
 
#define lwalloc   qgsMalloc
 
#define LWDEBUG
 
#define LWDEBUGF
 
#define lwerror   qWarning
 
#define lwfree   qgsFree
 

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...
 
double * getPoint_internal (const POINTARRAY *inpts, int pointIndex)
 

Macro Definition Documentation

#define FLAGS_GET_Z (   flags)    ( ( flags ) & 0x01 )

Definition at line 91 of file qgsmaptopixelgeometrysimplifier.cpp.

#define FP_MAX   qMax

Definition at line 90 of file qgsmaptopixelgeometrysimplifier.cpp.

#define LW_MSG_MAXLEN   256

Definition at line 92 of file qgsmaptopixelgeometrysimplifier.cpp.

#define lwalloc   qgsMalloc

Definition at line 93 of file qgsmaptopixelgeometrysimplifier.cpp.

#define LWDEBUG

Definition at line 88 of file qgsmaptopixelgeometrysimplifier.cpp.

#define LWDEBUGF

Definition at line 89 of file qgsmaptopixelgeometrysimplifier.cpp.

#define lwerror   qWarning

Definition at line 95 of file qgsmaptopixelgeometrysimplifier.cpp.

#define lwfree   qgsFree

Definition at line 94 of file qgsmaptopixelgeometrysimplifier.cpp.

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 62 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 108 of file qgsmaptopixelgeometrysimplifier.cpp.

double* getPoint_internal ( const POINTARRAY *  inpts,
int  pointIndex 
)

Definition at line 100 of file qgsmaptopixelgeometrysimplifier.cpp.