Tag Archives: point of intersection

Determine where two circles intersect in C#

This example shows one method for finding where two circles intersect in C#. If you don’t like math, skip to the code below. Consider the figure on the right showing two circles with radii r0 and r1. The points p0, … Continue reading

Posted in algorithms, geometry, graphics, mathematics | Tagged , , , , , , , , , , , , | 23 Comments

Determine where a line intersects a circle in C#

The FindLineCircleIntersections method shown shortly finds the points where line intersects a circle. It takes as parameters a circle’s center point and radius, and two points on the line. It uses out parameters to return the coordinates of the points … Continue reading

Posted in algorithms, geometry, graphics, mathematics | Tagged , , , , , , , , , , , , , , , , , | 3 Comments