Big mistake in CPAlgorithms code!

Revision en1, by i_love_downvotes, 2020-06-24 09:42:59

https://cp-algorithms.com/geometry/point-in-convex-polygon.html

In above link, the code for checking whether a point is inside a convex polygon is flawed. I tested on some examples, it gave wrong answer.

Can someone point out the mistake and thus request the author to correct it!

Tags flawed-code, error, cpalgorithms, convex-polygon

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English i_love_downvotes 2020-06-24 09:42:59 320 Initial revision (published)