]> Shamusworld >> Repos - architektonas/blob - src/geometry.h
d2ec82b0590f408fcdf2f91c0a54d3cddcc181f8
[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 };
14
15 #endif  // __GEOMETRY_H__
16