Finding the Convex Hull of a Simple Polygon
نویسنده
چکیده
The problem of finding the convex hull of a planar set of points P, that is, finding the smallest convex region enclosing P, arises frequently in computer graphics. For example, to fit P into a square or a circle, it is necessary and sufficient that H(P), the convex hull of P, fits; and since it is usually the case that H(P) has many fewer points than P has, it is a simpler object to manipulate. It is also the case that many fast graphics algorithms on polygons require that the input polygon be convex, thus making it a useful preprocessing step sometimes to first transform a general polygon into its convex hull. A number of algorithms exist for finding the convex hull of a set of points (e.g., [l, 2,6]), with worst-case complexity O(nlog n) for 1 PI = n. It is also known that O( n log n) is a lower bound just for determining H( P)-that is, not necessarily rendering H(P) in, say, clockwise order [7]. This lower bound is proved for a decision tree model with quadratic tests, which accommodates all the known convex hull algorithms. An interesting case of the convex hull problem that occurs frequently in practice is when the points of P form the vertices of a simple polygon (i.e., a polygon without self-intersections). Several authors have tried to find a fast algorithm for this problem. Sklansky [5] proposed an O(n) algorithm, which Bykat [l] later showed does not always work. It has also been noted that the
منابع مشابه
Algorithm for finding the largest inscribed rectangle in polygon
In many industrial and non-industrial applications, it is necessary to identify the largest inscribed rectangle in a certain shape. The problem is studied for convex and non-convex polygons. Another criterion is the direction of the rectangle: axis aligned or general. In this paper a heuristic algorithm is presented for finding the largest axis aligned inscribed rectangle in a general polygon. ...
متن کاملUnited Nations Educational, Scientific and Cultural Organization and International Atomic Energy Agency THE ABDUS SALAM INTERNATIONAL CENTRE FOR THEORETICAL PHYSICS A LINEAR TIME ALGORITHM FOR FINDING THE CONVEX ROPES BETWEEN TWO VERTICES OF A SIMPLE POLYGON WITHOUT TRIANGULATION
The convex rope problem, posed by Peshkin and Sanderson in IEEE J. Robotics Automat, 2 (1986) pp. 53-58, is to find the counterclockwise and clockwise convex ropes starting at the vertex a and ending at the vertex b of a simple polygon, where a is on the boundary of the convex hull of the polygon and b is visible from infinity. In this paper, we present a linear time algorithm for solving this ...
متن کاملSolving Geometric Problems with the Rotating Calipers *
Shamos [1] recently showed that the diameter of a convex n-sided polygon could be computed in O(n) time using a very elegant and simple procedure which resembles rotating a set of calipers around the polygon once. In this paper we show that this simple idea can be generalized in two ways: several sets of calipers can be used simultaneously on one convex polygon, or one set of calipers can be us...
متن کاملComputing the convex hull of a simple polygon
An algorithm for computing the convex hull of a simple polygon is presented. Its correctness and complexity are also shown. Computational geometry Convex hull Simple polygon Algorithm
متن کاملOn-Line Construction of the Convex Hull of a Simple Polyline
After McCallum and Avis [4] showed that the convex hull of a simple polygon P with n vertices can be constructed in O(n) time, several authors [1,2,3] devised simplified algorithms for this problem. Graham and Yao [2] presented a particularly simple and elegant one. After finding two points of the convex hull, their algorithm generated all other hull vertices using only one stack for intermedia...
متن کامل