X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgeometry.cpp;h=b52ff7e97d058aaa7626b2568a0b667bc647c0d1;hb=6533354910fbf76d9747deeae02b2e910ef9aa48;hp=e5a6af2cd991b5c5f74ee5e198073e18f43053fe;hpb=a7721909d18369e404496061e03b5483ff781eed;p=architektonas diff --git a/src/geometry.cpp b/src/geometry.cpp index e5a6af2..b52ff7e 100644 --- a/src/geometry.cpp +++ b/src/geometry.cpp @@ -340,3 +340,15 @@ Point Geometry::GetPointForParameter(Object * obj, double t) return Point(0, 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 + +*/ +