Hi all,

It seems that the intersct() of Line2D will only return a boolean value. I'm 
looking for some sample code to calculate the intersection of a line and a 
polygon (or 2 lines) and return the point. In addition, I need to calculate the 
area of a regular polygon. I guess the the source files of Line2D.intersect() 
and Graphics2D.fill() will help a lot. I'll look into those files later in the 
afternoon. But I hope I can get some suggestions from you. Thank you in advance.
[Message sent by forum member 'lcmeng' (lcmeng)]

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

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