libosmscout  1.1.1
Namespaces | Enumerations | Functions | Variables
utils.h File Reference
#include <exception>
#include <cmath>
Include dependency graph for utils.h:

Go to the source code of this file.

Namespaces

 p2t
 

Enumerations

enum  p2t::Orientation { p2t::CW, p2t::CCW, p2t::COLLINEAR }
 

Functions

Orientation p2t::Orient2d (Point &pa, Point &pb, Point &pc)
 
bool p2t::InScanArea (Point &pa, Point &pb, Point &pc, Point &pd)
 

Variables

const double p2t::PI_3div4 = 3 * M_PI / 4
 
const double p2t::PI_div2 = 1.57079632679489661923
 
const double p2t::EPSILON = 1e-12