how to obtain peripheral recangle of arbitrary ellipse?

105 Views Asked by At

Suppose have arbitrary ellipse with center $(x,y)$ and its radius $(a,b)$. I want obtain rectangle that sides tangent of peripheral ellipse. the below image describe issue : enter image description here