posted 14 years ago
Hi, I have extended the Polygon class, in this class I have a method, which then calls contain(Point p)
And this works incorrectly, but still kinda works.
However instead of that last line, if I do...
Then it functions perfectly, but I don't see the difference,
I have set up the correct variables, or perhaps it is something to do with the bounds field of Polygon,
which I have not initialized in this subclass.
Any ideas, thanks