Point-in-Polygon

With a given polygon PP and an arbitrary point qq, determine whether point qq is enclosed by the edges of the polygon.

Parameters

  • nn: number of edges of polygon

Related Problems


Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 8 of 8 algorithms

See more
Saalfeld (Sign of offset)1987O(n)O(n)O(1)O(1)
Preparata and Shamos (Wedge)1985O(n)O(n)O(n)O(n)
Preparata and Shamos (Intersection sum of angle)1985O(n)O(n)O(1)O(1)
Salomon (Swath Method)1978O(nlogn)O(n \log n)O(n2)O(n^2)
Nordbeck and Rystedt (Grid Method)1967O(n)O(n)O(n)O(n)
Nordbeck and Rystedt (Sum of area)1967O(n)O(n)O(1)O(1)
Nordbeck and Rystedt (Orientation)1967O(n)O(n)O(1)O(1)
Ray casting algorithm Shimrat; M1962O(n)O(n)O(1)O(1)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Displaying 1 of 1 other relevant algorithms