KiCad PCB EDA Suite
polygon/poly2tri/common/utils.h File Reference
#include <exception>
#include <math.h>

Go to the source code of this file.

Namespaces

 p2t
 Sweep-line, Constrained Delauney Triangulation (CDT) See: Domiter, V.
 

Macros

#define _USE_MATH_DEFINES
 

Enumerations

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

Functions

Orientation p2t::Orient2d (Point &pa, Point &pb, Point &pc)
 Forumla to calculate signed area
Positive if CCW
Negative if CW
0 if collinear
More...
 
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
 

Macro Definition Documentation

#define _USE_MATH_DEFINES

Definition at line 36 of file polygon/poly2tri/common/utils.h.