开发者

How Ellipse to Ellipse intersection?

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 b开发者_如何学Goetween 2 ellipse?

Thx


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜