return Point(0, 0);
}
+
+Point Geometry::Midpoint(Line * line)
+{
+ return Point((line->p[0].x + line->p[1].x) / 2.0,
+ (line->p[0].y + line->p[1].y) / 2.0);
+}
+
+
+/*
+How to find the tangent of a point off a circle:
+
+ • Calculate the midpoint on the point and the center of the circle
+ • Get the length of the line segment from the and the center divided by two
+ • Use that length to construct a circle with the point at the center and the
+ radius equal to that length
+ • The intersection of the two circles are the tangent points
+
+*/
+