34 printf(
"poly.isPointWithin(50, 50) failed\n");
39 printf(
"!poly.isPointWithin(10, 10) failed\n");
44 printf(
"!poly.isPointWithin(90, 50) failed\n");
dw::core::Shape implemtation for polygons.
bool isPointWithin(int x, int y)
void addPoint(int x, int y)
The core of Dw is defined in this namespace.
Miscellaneous stuff, which does not fit anywhere else.