]> Shamusworld >> Repos - architektonas/blobdiff - src/geometry.h
Added Parallel tool + command processing.
[architektonas] / src / geometry.h
index f1371e32241fa8aa66c5fad70d7336b046c5ff79..b5e6c6bf8623c3d9c7aa361ebbc60632d1a593df 100644 (file)
@@ -9,6 +9,7 @@ class Geometry
        public:
                // All methods are class methods for this class
                static double ParameterOfLineAndPoint(Point, Point, Point);
+               static double DistanceToLineFromPoint(Point, Point, Point);
                static Point MirrorPointAroundLine(Point, Point, Point);
                static Point RotatePointAroundPoint(Point, Point, double);
                static double Determinant(Point, Point);
@@ -18,7 +19,11 @@ class Geometry
                static void CheckLineToCircleIntersection(Object *, Object *);
                static void FindAnglesForSides(double s1, double s2, double s3, double * a1, double * a2, double * a3);
                static Point GetPointForParameter(Object *, double);
+               static Point Midpoint(Line *);
+               static void FindTangents(Object *, Point);
+               static void FindTangents(Object *, Object *);
+               static Point NearestTo(Point, Point, Point);
+               static Vector GetNormalOfPointAndLine(Point, Line *);
 };
 
 #endif         // __GEOMETRY_H__
-