I know there's a formula for getting all points that satisfy an ellipsis:
(A1,A2)=center1
(B1,B2)=center2
R=radius
sqrt((x-A1)^2+(y-A2)^2)+sqrt((x-A1)^2+(y-A2)^2)=R
But is there another formula that reduces the number of variables (5 in this case) or make the variables more efficient (R must be a minimum size depending on A and B)? So that all possible ellipses could be represented as a point in a 4D cube?