Ray casting algorithm Shimrat; M (Point-in-Polygon Point-in-Polygon)
Jump to navigation
Jump to search
Time Complexity
$O(n)$
Space Complexity
$O({1})$ words
(Only need to keep track of ray direction and how many polygon sides intersect with the ray)
Description
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Real RAM
Year
1962