I’ve been wondering if there’s an easy way, using Cesium’s methods, to get the nearest point on an ellipse.

Assume we have a few ellipses drawn, and the user clicks somewhere on the map.

I’d like to find the closest point on an ellipse, and the angle compared to the north clockwise (the center of the ellipse would be the (0,0) point for that matter).

My end goal is to draw a 3D model (i.e. the Cesium air plane model) on this point and rotate it according to the angle.

Are there Ceisum methods that can be used to simplify this process?

Thanks