Mike_R
2007-06-28, 04:37 PM
I've been doing a lot of stuff lately that involves strange curves with many points that could be much more realistically, and quite possibly much more easily, if done with ellipse arcs. I have a few obstacles though...
1) The Centroid is unknown.
2) The length of the axes is unknown.
3) The foci are unknown.
All I have to work with is a partial arc... But what I do have is one of the major quadrant points, and an accurate arc to work with. With the quadrant, I can determine the direction of the major axis, and that's where I get lost. I have no idea how to calculate the ellipse to find the center, or the major and minor axes... Using a calculator seems totally impossible... So a LISP routine would be perfect, but I don't know how to write this one.
Anybody have any ideas? Or at the very least a decent formula to calculate points on an ellipse using an assumed center? I might be able to drum something up with that... It'll be ugly, but it would work.
1) The Centroid is unknown.
2) The length of the axes is unknown.
3) The foci are unknown.
All I have to work with is a partial arc... But what I do have is one of the major quadrant points, and an accurate arc to work with. With the quadrant, I can determine the direction of the major axis, and that's where I get lost. I have no idea how to calculate the ellipse to find the center, or the major and minor axes... Using a calculator seems totally impossible... So a LISP routine would be perfect, but I don't know how to write this one.
Anybody have any ideas? Or at the very least a decent formula to calculate points on an ellipse using an assumed center? I might be able to drum something up with that... It'll be ugly, but it would work.