You can also try using Java built in functions. This works for intersecting 
line with polygon or other shape as well as for finding polygon intersection, 
or in other words intersecting polygons.

Area area1= new Area(line2d_polygon_or_some_other_shape);
Area area2= new Area(ine2d_polygon_or_some_other_shape);

Area intersection = new Area();
intersection.add(area1);
intersection.intersect(area2);
//here intersection is the intersected area
[Message sent by forum member 'ginte' (ginte)]

http://forums.java.net/jive/thread.jspa?messageID=261986

===========================================================================
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