#include <cmath>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | An |
Typedefs | |
typedef Vector | Point |
A point in a 2D space, another name for a vector. | |
typedef std::vector< Point > | Polygone |
Polygone, which is a vector of points. Anti-clockwise, standard trigonometric orientation. | |
Functions | |
double | normalizeAngle (double angle) |
Normlize an angle to be between -PI and +PI. | |
Point | getIntersection (const Segment &s1, const Segment &s2) |
get the intersection point between two line segments returns Point(HUGE_VAL, HUGE_VAL) if there's no intersection added by yvan.bourquin@epfl.ch |