Computational geometry: an introduction
Computational geometry: an introduction
Introduction to algorithms
Algorithms from P to NP (vol. 1): design and efficiency
Algorithms from P to NP (vol. 1): design and efficiency
Algorithms in C++
Hi-index | 0.00 |
This paper takes a careful look at a well-known implementation of an algorithm that tests a point in the plane for inclusion in a given polygon. The implementation, coded in C++, appears in Robert Sedgewick's highly regarded book, Algorithms in C++, and has a number of flaws associated with special cases. The paper discusses the problems and a reliable implementation of the algorithm is developed.