So I've got this problem where I have shape (say a pie-shaped arc) and another shape (say an ellipse), and I want to find out if they overlap. However, not only so I need to find out if they overlap, I need to see if the area that the overlap occurs is more than a third shape (say another pie-shaped arc) and the ellipse.
Anyone have any ideas on how I'd go about implementing this?
Author and all-around good cowpoke
posted 8 years ago
You will find 2D geometry goodies in the java.awt and related packages. Take a look at the Shape interface.