Talk:Even–odd rule
Appearance
This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Implementation
[edit]The code snippet listed isn't an implementation of the even-odd rule... it returns true if the point (x,y) is on the edge of the polygon, not if the point is inside. I guess it could be called a partial implementation, but that depends on if you consider a point on the line "inside." Is it worth keeping the code up? Is there published code that could be added for an actual implementation? MnCO3 (talk) 04:58, 25 July 2023 (UTC)