QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:

Namespaces

namespace  pal

Macros

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

Functions

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

Macro Definition Documentation

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