Testing simple polygons
Title | Testing simple polygons |
Publication Type | Journal Articles |
Year of Publication | 1997 |
Authors | Arkin EM, Belleville P, Mitchell JSB, Mount D, Romanik K, Salzberg S, Souvaine D |
Journal | Computational Geometry |
Volume | 8 |
Issue | 2 |
Pagination | 97 - 114 |
Date Published | 1997/07// |
ISBN Number | 0925-7721 |
Keywords | probing, Testing, Verifying |
Abstract | We consider the problem of verifying a simple polygon in the plane using “test points”. A test point is a geometric probe that takes as input a point in Euclidean space, and returns “+” if the point is inside the object being probed or “−” if it is outside. A verification procedure takes as input a description of a target object, including its location and orientation, and it produces a set of test points that are used to verify whether a test object matches the description. We give a procedure for verifying an n-sided, non-degenerate, simple target polygon using 5n test points. This testing strategy works even if the test polygon has n + 1 vertices, and we show a lower bound of 3n + 1 test points for this case. We also give algorithms using O(n) test points for simple polygons that may be degenerate and for test polygons that may have up to n + 2 vertices. All of these algorithms work for polygons with holes. We also discuss extensions of our results to higher dimensions. |
URL | http://www.sciencedirect.com/science/article/pii/S0925772196000156 |
DOI | 10.1016/S0925-7721(96)00015-6 |