]> Shamusworld >> Repos - architektonas/blob - src/geometry.h
Added rotation tool.
[architektonas] / src / geometry.h
1 #ifndef __GEOMETRY_H__
2 #define __GEOMETRY_H__
3
4 #include "vector.h"
5
6 class Geometry
7 {
8         public:
9                 // All methods are class methods for this class
10                 static Point IntersectionOfLineAndLine(Point, Point, Point, Point);
11                 static double ParameterOfLineAndPoint(Point, Point, Point);
12                 static Point MirrorPointAroundLine(Point, Point, Point);
13                 static Point RotatePointAroundPoint(Point, Point, double);
14 };
15
16 #endif  // __GEOMETRY_H__
17