Point in Polygon Algorithm with O(1) Complexity

Date issued

1994

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Algorithms for point-in-polygon problem solution are very often used in computer graphics applications. The naive implementation has O(N) processing time complexity or O(lg N)complexity if a convex polygon is considered. A new algorithm of O(l) processing complexity was developed. The important feature of the algorithm is that preprocessing complexity is O(N) and memory requirements depend on geometrical properties of the given polygon. Usage of the algorithm is expected in applications where many points are tested whether resides in the given polygon or not. The presented approach can be considered as alternative to the parallel processing usage. Experimental results are includes, too.

Description

Subject(s)

struktura dat, mnohostěny, složitost algoritmů, geometrie

Citation

Collections

OPEN License Selector