How can I tell if a line and an ellipse intersect in cesium?

As in the picture, I have an ellipse, a polygon and a line. Polygon and line have corner point coordinates, ellipse has center coordinates and radius. How can I tell if these objects intersect with the ellipse?