Archived

This topic is now archived and is closed to further replies.

Line vs. Circle: Fight!

This topic is 6659 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
A circle is defined as the set of points that are all equidistant from one point, which is the center of the circle. So basically, any points on the line that are R units away from the center lie on the circle (R = radius).

The (nonstandard) equations for lines and circles are:

y = mx + b and
(x-h)^2 + (y-k)^2 = r^2

Where m is the slope, and b is the point the line crosses the Y axis.

(h,k) is the center of the circle and R is the radius.

Hope this helps

Share this post


Link to post
Share on other sites
Seemingly simple, yet boggling question:

Given: two points of line segment, point of circle center, circle radius

We are in 2D, here.

How do you determine if and where the line segment is intersecting the circle?

------------------
Oddball Software
http://zap.to/oddball

Share this post


Link to post
Share on other sites