Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
72fae7e9
Commit
72fae7e9
authored
Oct 12, 2008
by
charras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updating polygon lib code. A bug removed.
parent
b7db0ef8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
polygon_test_point_inside.cpp
polygon/polygon_test_point_inside.cpp
+1
-1
No files found.
polygon/polygon_test_point_inside.cpp
View file @
72fae7e9
...
@@ -12,7 +12,7 @@ using namespace std;
...
@@ -12,7 +12,7 @@ using namespace std;
* It run a semi-infinite line horizontally (increasing x, fixed y)
* It run a semi-infinite line horizontally (increasing x, fixed y)
* out from the test point, and count how many edges it crosses.
* out from the test point, and count how many edges it crosses.
* At each crossing, the ray switches between inside and outside.
* 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.
* This is called the Jordan curve theorem, or sometimes referred to as the "even-odd" test.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment