- Joined
- Jul 10, 2007
- Messages
- 6,306
So... can anyone help me with this?
If I have a point (x,y) and 4 polar offsets: 1 in front, 1 in back, and 2 to the sides, and then create 2 triangles from them (front, side, side) (back, side, side), and from those create 2 steiner circumellipses, how would I go about calculating the focii of the circumellipses (within int32 limits) so that I could check to see if the ellipses intersected a circle? Furthermore, how would I retrieve how much it intersects a circle (total area of intersection).
I imagine that I could take the integral between the circle and the ellipse (where they intersect) ;p, but anyways.
Thanks for your help if you can help me with this : (. I've really been wanting to make a custom combat system, and this is the way to do it >: ).
If I have a point (x,y) and 4 polar offsets: 1 in front, 1 in back, and 2 to the sides, and then create 2 triangles from them (front, side, side) (back, side, side), and from those create 2 steiner circumellipses, how would I go about calculating the focii of the circumellipses (within int32 limits) so that I could check to see if the ellipses intersected a circle? Furthermore, how would I retrieve how much it intersects a circle (total area of intersection).
I imagine that I could take the integral between the circle and the ellipse (where they intersect) ;p, but anyways.
Thanks for your help if you can help me with this : (. I've really been wanting to make a custom combat system, and this is the way to do it >: ).