1,966 research outputs found

    Relative Convex Hull Determination from Convex Hulls in the Plane

    Full text link
    A new algorithm for the determination of the relative convex hull in the plane of a simple polygon A with respect to another simple polygon B which contains A, is proposed. The relative convex hull is also known as geodesic convex hull, and the problem of its determination in the plane is equivalent to find the shortest curve among all Jordan curves lying in the difference set of B and A and encircling A. Algorithms solving this problem known from Computational Geometry are based on the triangulation or similar decomposition of that difference set. The algorithm presented here does not use such decomposition, but it supposes that A and B are given as ordered sequences of vertices. The algorithm is based on convex hull calculations of A and B and of smaller polygons and polylines, it produces the output list of vertices of the relative convex hull from the sequence of vertices of the convex hull of A.Comment: 15 pages, 4 figures, Conference paper published. We corrected two typing errors in Definition 2: ISI_S has to be defined based on OSO_S, and IEI_E has to be defined based on OEO_E (not just using OO). These errors appeared in the text of the original conference paper, which also contained the pseudocode of an algorithm where ISI_S and IEI_E appeared as correctly define

    Probing Convex Polygons with a Wedge

    Full text link
    Minimizing the number of probes is one of the main challenges in reconstructing geometric objects with probing devices. In this paper, we investigate the problem of using an ω\omega-wedge probing tool to determine the exact shape and orientation of a convex polygon. An ω\omega-wedge consists of two rays emanating from a point called the apex of the wedge and the two rays forming an angle ω\omega. To probe with an ω\omega-wedge, we set the direction that the apex of the probe has to follow, the line L\overrightarrow L, and the initial orientation of the two rays. A valid ω\omega-probe of a convex polygon OO contains OO within the ω\omega-wedge and its outcome consists of the coordinates of the apex, the orientation of both rays and the coordinates of the closest (to the apex) points of contact between OO and each of the rays. We present algorithms minimizing the number of probes and prove their optimality. In particular, we show how to reconstruct a convex nn-gon (with all internal angles of size larger than ω\omega) using 2n22n-2 ω\omega-probes; if ω=π/2\omega = \pi/2, the reconstruction uses 2n32n-3 ω\omega-probes. We show that both results are optimal. Let NBN_B be the number of vertices of OO whose internal angle is at most ω\omega, (we show that 0NB30 \leq N_B \leq 3). We determine the shape and orientation of a general convex nn-gon with NB=1N_B=1 (respectively NB=2N_B=2, NB=3N_B=3) using 2n12n-1 (respectively 2n+32n+3, 2n+52n+5) ω\omega-probes. We prove optimality for the first case. Assuming the algorithm knows the value of NBN_B in advance, the reconstruction of OO with NB=2N_B=2 or NB=3N_B=3 can be achieved with 2n+22n+2 probes,- which is optimal.Comment: 31 pages, 27 figure

    An Optimal Algorithm for the Separating Common Tangents of two Polygons

    Get PDF
    We describe an algorithm for computing the separating common tangents of two simple polygons using linear time and only constant workspace. A tangent of a polygon is a line touching the polygon such that all of the polygon lies to the same side of the line. A separating common tangent of two polygons is a tangent of both polygons where the polygons are lying on different sides of the tangent. Each polygon is given as a read-only array of its corners. If a separating common tangent does not exist, the algorithm reports that. Otherwise, two corners defining a separating common tangent are returned. The algorithm is simple and implies an optimal algorithm for deciding if the convex hulls of two polygons are disjoint or not. This was not known to be possible in linear time and constant workspace prior to this paper. An outer common tangent is a tangent of both polygons where the polygons are on the same side of the tangent. In the case where the convex hulls of the polygons are disjoint, we give an algorithm for computing the outer common tangents in linear time using constant workspace.Comment: 12 pages, 6 figures. A preliminary version of this paper appeared at SoCG 201

    Design of Combined Coverage Area Reporting and Geo-casting of Queries for Wireless Sensor Networks

    Get PDF
    In order to efficiently deal with queries or other location dependent information, it is key that the wireless sensor network informs gateways what geographical area is serviced by which gateway. The gateways are then able to e.g. efficiently route queries which are only valid in particular regions of the deployment. The proposed algorithms combine coverage area reporting and geographical routing of queries which are injected by gateways.\u

    Approximating the Maximum Overlap of Polygons under Translation

    Full text link
    Let PP and QQ be two simple polygons in the plane of total complexity nn, each of which can be decomposed into at most kk convex parts. We present an (1ε)(1-\varepsilon)-approximation algorithm, for finding the translation of QQ, which maximizes its area of overlap with PP. Our algorithm runs in O(cn)O(c n) time, where cc is a constant that depends only on kk and ε\varepsilon. This suggest that for polygons that are "close" to being convex, the problem can be solved (approximately), in near linear time

    Memory-Constrained Algorithms for Simple Polygons

    Get PDF
    A constant-workspace algorithm has read-only access to an input array and may use only O(1) additional words of O(logn)O(\log n) bits, where nn is the size of the input. We assume that a simple nn-gon is given by the ordered sequence of its vertices. We show that we can find a triangulation of a plane straight-line graph in O(n2)O(n^2) time. We also consider preprocessing a simple polygon for shortest path queries when the space constraint is relaxed to allow ss words of working space. After a preprocessing of O(n2)O(n^2) time, we are able to solve shortest path queries between any two points inside the polygon in O(n2/s)O(n^2/s) time.Comment: Preprint appeared in EuroCG 201
    corecore