AlgorithmsGeometryEdit on GitHubEdit history
Crossing Number Point-in-Polygon Test
Even–odd rule test, Ray crossing test1962
Point-in-polygon test that casts a ray from the query point in one direction and reports the point as inside when the ray crosses the polygon boundary an odd number of times. It implements the even–odd rule.
Origin
M. Shimrat (1962). Algorithm 112: Position of point relative to polygon. Communications of the ACM 5(8).doi:10.1145/368637.368653 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Derived algorithms
What it led to
Hormann–Agathos Point-in-Polygon Algorithm2001
Author statementThe paper shows that the ray-crossing method of the even–odd rule is closely related to the winding number and derives from this an algorithm computing the winding number for arbitrary polygons. — doi:10.1016/S0925-7721(01)00012-8
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…