This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Polygon Clipping in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Polygon Clipping in Java" Watch "Polygon Clipping in Java" New topic
Author

Polygon Clipping in Java

tosh li
Greenhorn

Joined: Jan 09, 2013
Posts: 2
Hello, I am stuck on this Polygon Clipping Assignment.
This is what the result should look like.


Here's the package I am working with. It's java so under the java folders. I am only allowed to edit the Clipper.java file.

This is what I have so far:



[clipTest.jpg]

tosh li
Greenhorn

Joined: Jan 09, 2013
Posts: 2
Here's the files I am not to touch but I need them to run. The main class is the ClipTest.java
http://www.megafileupload.com/en/file/383064/cg1-clip-zip.html
 
 
subject: Polygon Clipping in Java
 
Similar Threads
Clock face
Convert Applet to Stand-alone app
Painting on glass panel
Moving clickedShapes and only clickedShapes on a panel
Zooming in and out - cursor not in the right place