Jump to content
  • Advertisement

Archived

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

spiffgq

Calculating the center of an ellipse given the foci

This topic is 5403 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

If one has an ellipse that lies in the arbitrary plane
Ax + By + Cz - D = 0
  
with the foci
fa = <fax, fay, faz>
  
and
fb = <fbx, fby, fbz>
  
where fa and fb lie in the plane and are specified relative to the origin, then can the center point of the ellipse be calculated with
c = fa + ((fb - fa) / 2)
  
where c is a vector pointing from the origin to the center point? If not, can someone please point me in the right direction. Thanks for your help. [edited by - SpiffGQ on October 5, 2003 8:55:01 PM]

Share this post


Link to post
Share on other sites
Advertisement
I think yes, but writing your equation as c = (fa+fb)/2 would be
a) shorter
b) more intuitive to me: The center of an ellipse (or ellipsoid) is in the middle of the two foci.

Share this post


Link to post
Share on other sites
quote:
Original post by Atheist
I think yes, but writing your equation as c = (fa+fb)/2 would be
a) shorter
b) more intuitive to me: The center of an ellipse (or ellipsoid) is in the middle of the two foci.


Thanks.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!