Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Geometry.h File Reference

Detailed Description

The mathematic classes for 2D geometry.

#include <cmath>
#include <vector>

Go to the source code of this file.


namespace  An


typedef Vector Point
 A point in a 2D space, another name for a vector.
typedef std::vector< PointPolygone
 Polygone, which is a vector of points. Anti-clockwise, standard trigonometric orientation.


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

Generated on Mon Oct 24 17:30:33 2005 for liban by  doxygen 1.4.2