Jérôme Thièvre wrote:
> 
> These methods are not implemented in Java standard API.
> 

I've had very similar problem with intersection of two polygons and just
recently found out that Java has built in procedures for that. I wanted to
share with you.

Area area1= new Area(line2d_or_polygon);
Area area2= new Area(line2d_or_polygon);

Area intersection = new Area();
intersection.add(area2);
intersection.intersect(area1);
//here intersection is the intersected area
-- 
View this message in context: 
http://www.nabble.com/Intersection-of-Line-and-Polygon-and-the-Area-of-Polygon-tp14921319p15804357.html
Sent from the Sun - Java2D-Interest mailing list archive at Nabble.com.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to