tags:

views:

152

answers:

2

Draw two circles which has intersect each other, from that I need to find that intersect point using c# using directx. I need to find two points.

+1  A: 

This has nothing to do with DirectX really, or even C#. It's just geometry. See this page for the appropriate formula and reasoning.

Jon Skeet
Huh, same link here :)
Anton Gogolev
DirectX does provide vector and matrix types (among many other) and methods to operate on them so perhaps the person setting the 'homework' wanted the 'class' to concentrate on the algorithm rather than the implementation of basic types.
Skizz
+2  A: 

Are you sure you need DirectX here? This is purely mathematical problem. See this:

Intersection Of Two Circles

Anton Gogolev
ok thank u would give correct formula for this
ratty
@ratty: Did you open a link?
Anton Gogolev
sir i saw that.would u give much solution for this both radius r equalfor both circle
ratty
@ratty: Surely you just plug the same number in for both r0 and r1? Why would it be any harder than that?
Jon Skeet