Talk:Even–odd rule

(Redirected from Talk:Even-odd rule)
Latest comment: 1 year ago by MnCO3 in topic Implementation

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)Reply