Let's say I have an ellipsoid centered at the origin of my coordinate system, and not rotated in any way. Think along the lines of the WGS84 ellipsoid in ECEF. Let's call this ellipsoid E1.
Now, let's say I pick a point P1 on the surface of E1, and I pick two points P2 and P3 outside E1. I now construct a second ellipsoid E2 with P2 and P3 as the foci, such that the surface of E2 contains P1.
I can see, qualitatively, that E2 will intersect E1. E2 is not centered at the origin, and may be 'rotated'.
My question is: how do I analytically compute that intersection? Either via a single expression or a series of transformations?
My first thought was to hypothesize a plane containing the intersection, and computing that plane as a minimization problem with E1 and E2 as constraints. I am not sure if this is correct or even how to set up the problem.
Any help with this would be greatly appreciated. Thanks!