I am creating a physics based ball game. For this I am creating my own Physics Engine. And for this physics engine given a rect(x, y, w, h) and a ellipse(x, y, w, h) can det