Big mistake in CPAlgorithms code!

Правка en1, от 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!

Теги flawed-code, error, cpalgorithms, convex-polygon

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский i_love_downvotes 2020-06-24 09:42:59 320 Initial revision (published)