#include <cmath>
#include <vector>
#include <limits>
#include <ostream>
#include <algorithm>
Go to the source code of this file.
Namespaces | |
| namespace | Enki |
Classes | |
| struct | Enki::Vector |
| A vector in a 2D space. More... | |
| struct | Enki::Matrix22 |
| A 2x2 matrix. More... | |
| struct | Enki::Segment |
| A segment in a 2D space, basically two points. More... | |
| struct | Enki::Polygone |
| Polygone, which is a vector of points. Anti-clockwise, standard trigonometric orientation. More... | |
Typedefs | |
| typedef Vector | Enki::Point |
| A point in a 2D space, another name for a vector. | |
Functions | |
| std::ostream & | Enki::operator<< (std::ostream &outs, const Vector &vector) |
| Print a vector to a stream. | |
| std::ostream & | Enki::operator<< (std::ostream &outs, const Polygone &polygone) |
| Print a polygone to a stream. | |
| double | Enki::normalizeAngle (double angle) |
| Normlize an angle to be between -PI and +PI. | |
| Point | Enki::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 | |
1.5.1