Given two circles (defined by center and radius), how do I find the smallest ellipse that encloses both of them? I.e. I search the green ellipse in the picture below.
The ellipses can be considered axes aligned if this simplifies things. The end goal is to classify points on whether they are in the ellipse or not. So a final representation suitable to the form used in this question will be preferred.