QGIS API Documentation  2.11.0-Master
Classes | Namespaces | Macros | Typedefs | Functions
util.h File Reference
#include <cmath>
#include <cstring>
#include <stddef.h>
#include <geos_c.h>
#include "pal.h"
#include "rtree.hpp"
#include "pointset.h"
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  pal::_elementary_transformation
class  pal::Feats
 For usage in problem solving algorithm. More...
struct  pal::Point




#define EPSILON   1e-9


typedef struct pal::_elementary_transformation pal::ElemTrans


void pal::convert2pt (int *x, double scale, int dpi)
int pal::convert2pt (double x, double scale, int dpi)
double pal::degree2meter (double delta_deg)
bool pal::intCompare (int a, int b)
int pal::max (int a, int b)
double pal::max (double a, double b)
 returns the maximum of two doubles or the first argument if both are equal More...
int pal::min (int a, int b)
double pal::min (double a, double b)
 returns the minimum of two doubles or the first argument if both are equal More...
bool pal::ptrETCompare (ElemTrans *a, ElemTrans *b)
bool pal::ptrFeatsCompare (Feats *a, Feats *b)
bool pal::ptrFeatureCompare (Feature *a, Feature *b)
bool pal::ptrFeaturePartCompare (FeaturePart *a, FeaturePart *b)
bool pal::ptrLayerCompare (Layer *a, Layer *b)
bool pal::ptrLPosCompare (LabelPosition *a, LabelPosition *b)
bool pal::ptrPSetCompare (PointSet *a, PointSet *b)
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...
bool pal::strCompare (char *a, char *b)
void pal::tabcpy (int n, const int *const x, const int *const y, const double *const prob, int *cx, int *cy, double *p)
double pal::unit_convert (double x, Units from, Units to, int dpi, double scale, double delta_canvas_width)
LinkedList< const GEOSGeometry * > * pal::unmulti (const GEOSGeometry *the_geom)
double pal::vabs (double x)

Macro Definition Documentation

#define EPSILON   1e-9

Definition at line 79 of file util.h.