QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions
util.cpp File Reference
#include <stddef.h>
#include <geos_c.h>
#include <sstream>
#include <iostream>
#include <cfloat>
#include <cstdarg>
#include <ctime>
#include <pal/layer.h>
#include "internalexception.h"
#include "util.h"
#include "labelposition.h"
#include "feature.h"
#include "geomfunction.h"
Include dependency graph for util.cpp:

Go to the source code of this file.

Namespaces

 pal
 

Macros

#define M_PI   3.14159265358979323846
 
#define M_PI_2   1.57079632679489661923
 
#define M_SQRT2   1.41421356237309504880
 
#define M_SQRT_2   0.707106781186547524401
 

Functions

bool pal::ptrGeomEq (const GEOSGeometry *l, const GEOSGeometry *r)
 
void pal::sort (double *heap, int *x, int *y, int N)
 
void pal::sort (void **items, int N, bool(*greater)(void *l, void *r))
 Sort an array of pointers. More...
 
void pal::tabcpy (int n, const int *const x, const int *const y, const double *const prob, int *cx, int *cy, double *p)
 
LinkedList< const GEOSGeometry * > * pal::unmulti (const GEOSGeometry *the_geom)
 

Macro Definition Documentation

#define M_PI   3.14159265358979323846

Definition at line 54 of file util.cpp.

#define M_PI_2   1.57079632679489661923

Definition at line 58 of file util.cpp.

#define M_SQRT2   1.41421356237309504880

Definition at line 66 of file util.cpp.

#define M_SQRT_2   0.707106781186547524401

Definition at line 62 of file util.cpp.