From 72fae7e9e3842a92c1347e0b268c99a1d46fc757 Mon Sep 17 00:00:00 2001 From: charras Date: Sun, 12 Oct 2008 15:30:23 +0000 Subject: [PATCH] updating polygon lib code. A bug removed. --- polygon/polygon_test_point_inside.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygon/polygon_test_point_inside.cpp b/polygon/polygon_test_point_inside.cpp index ef5bc9e2c9..b19d9e37d1 100644 --- a/polygon/polygon_test_point_inside.cpp +++ b/polygon/polygon_test_point_inside.cpp @@ -12,7 +12,7 @@ using namespace std; * It run a semi-infinite line horizontally (increasing x, fixed y) * out from the test point, and count how many edges it crosses. * At each crossing, the ray switches between inside and outside. - * If odd nimber, the test point is inside the polygon + * If odd count, the test point is inside the polygon * This is called the Jordan curve theorem, or sometimes referred to as the "even-odd" test. */