- #1

- 36

- 0

## Main Question or Discussion Point

Right now I'm running this with a brute force program which takes points on an ellipsoid and checks the distance to the point, slightly readjusts, and keeps moving toward the minimum, but it takes far to long for the mass amount of points I want to run through the program. Is there an equation I can use to find the line?

The question more specifically is the following. I have the parameteric equation for an ellipsoid. I have the location of a point. I want to find the shortest distance from the surface of the ellipsoid to the point. The point could be on the inside or the outside of the ellipsoid. I currently have a brute force program solving this but would like an equation or something else cleaner/faster to solve this. Is there a better way I could be doing this? Thanks for your time.

The question more specifically is the following. I have the parameteric equation for an ellipsoid. I have the location of a point. I want to find the shortest distance from the surface of the ellipsoid to the point. The point could be on the inside or the outside of the ellipsoid. I currently have a brute force program solving this but would like an equation or something else cleaner/faster to solve this. Is there a better way I could be doing this? Thanks for your time.