I have a polygon, and I'm running through its PathIterator and printing out every point. For some reason, it's printing the last point twice. I would've understood if it printed the FIRST point again at the end (I would've assumed it had "circled back" to the first point), but I don't understand why it's printing the LAST one twice. Here is my code:
(Note: please do not criticize the improper OO design... I am just testing out how Shapes work, I have a homework assignment which I will do with proper OO once I've gotten the hang of these shapes)
[ February 16, 2008: Message edited by: Gloria Connors ]
[ February 16, 2008: Message edited by: Gloria Connors ]