Sign in to follow this  
DesignerX

Collision between 2 circles

Recommended Posts

Is there any function from Direct3X for getting the intersection point between two intersecting circles ? If not, how can I compute it myself ? thx.

Share this post


Link to post
Share on other sites
Very easy. Pressuming that x,y and x1,y1 are centres of two circles, and r and r1 are radius of circles then if length of vector(distance) between two coordinates is lesser than r+r1 two circles intersect.

Share this post


Link to post
Share on other sites
This page explains how to calculate the points of intersection, if any exist.

That was the first hit in a Google search for 'Point Of Intersection Two Circles'. The answers come much easier if you learn to take initiative.

Admiral

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this