libosmscout 1.1.1
Loading...
Searching...
No Matches
utils.h File Reference
#include <exception>
#include <cmath>
Include dependency graph for utils.h:

Go to the source code of this file.

Namespaces

namespace  p2t

Enumerations

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

Functions

Orientation p2t::Orient2d (const Point &pa, const Point &pb, const 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