I’m using JAVA.
Ellipse2D s1=new Ellipse2D.Float(0,0,100,100);
System.out.println(s1.intersects(99, 30, 100, 100));
Should return false but it return true. How to find intersection between 2 ellipse?
Thx
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
CADEMIA has an useful api which can be downloaded from here. The class cib.util.geo.Geo2D has a method Geo2D#intersection which calculates the intersection points between two ellipses.
Hope this will help you. Thanks.