• Source: Relative convex hull
    • In discrete geometry and computational geometry, the relative convex hull or geodesic convex hull is an analogue of the convex hull for the points inside a simple polygon or a rectifiable simple closed curve.


      Definition


      Let



      P


      {\displaystyle P}

      be a simple polygon or a rectifiable simple closed curve, and let



      X


      {\displaystyle X}

      be any set enclosed by



      P


      {\displaystyle P}

      .
      A geodesic between two points in



      P


      {\displaystyle P}

      is a shortest path connecting those two points that stays entirely within



      P


      {\displaystyle P}

      .
      A subset



      K


      {\displaystyle K}

      of the points inside



      P


      {\displaystyle P}

      is said to be relatively convex, geodesically convex, or



      P


      {\displaystyle P}

      -convex if, for every two points of



      K


      {\displaystyle K}

      , the geodesic between them in



      P


      {\displaystyle P}

      stays within



      K


      {\displaystyle K}

      . Then the relative convex hull of



      X


      {\displaystyle X}

      can be defined as the intersection of all relatively convex sets containing



      X


      {\displaystyle X}

      .
      Equivalently, the relative convex hull is the minimum-perimeter weakly simple polygon in



      P


      {\displaystyle P}

      that encloses



      X


      {\displaystyle X}

      . This was the original formulation of relative convex hulls, by Sklansky, Chazin & Hansen (1972). However this definition is complicated by the need to use weakly simple polygons (intuitively, polygons in which the polygon boundary can touch or overlap itself but not cross itself) instead of simple polygons when



      X


      {\displaystyle X}

      is disconnected and its components are not all visible to each other.


      Special cases




      = Finite sets of points

      =
      Toussaint (1986), who provided an efficient algorithm for the construction of the relative convex hull for finite sets of points inside a simple polygon. With subsequent improvements in the time bounds for two subroutines, finding shortest paths between query points in a polygon, and polygon triangulation, this algorithm takes time



      O
      (
      p
      +
      n
      log

      (
      p
      +
      n
      )
      )


      {\displaystyle O(p+n\log(p+n))}

      on an input with



      n


      {\displaystyle n}

      points in a polygon with



      p


      {\displaystyle p}

      vertices. It can also be maintained dynamically in sublinear time per update.
      The relative convex hull of a finite set of points is always a weakly simple polygon, but it might not actually be a simple polygon, because parts of it can be connected to each other by line segments or polygonal paths rather than by regions of nonzero area.


      = Simple polygons

      =
      For relative convex hulls of simple polygons, an alternative but equivalent definition of convexity can be used. A simple polygon



      P


      {\displaystyle P}

      within another simple polygon



      Q


      {\displaystyle Q}

      is relatively convex or



      Q


      {\displaystyle Q}

      -convex if every line segment contained in



      Q


      {\displaystyle Q}

      that connects two points of



      P


      {\displaystyle P}

      lies within



      P


      {\displaystyle P}

      . The relative convex hull of a simple polygon



      P


      {\displaystyle P}

      within



      Q


      {\displaystyle Q}

      can be defined as the intersection of all



      Q


      {\displaystyle Q}

      -convex polygons that contain



      P


      {\displaystyle P}

      , as the smallest



      Q


      {\displaystyle Q}

      -convex polygon that contains



      P


      {\displaystyle P}

      , or as the minimum-perimeter simple polygon that contains



      P


      {\displaystyle P}

      and is contained by



      Q


      {\displaystyle Q}

      .
      Klette (2010) generalizes linear time algorithms for the convex hull of a simple polygon to the relative convex hull of one simple polygon within another. The resulting generalized algorithm is not linear time, however: its time complexity depends on the depth of nesting of certain features of one polygon within another. In this case, the relative convex hull is itself a simple polygon. Alternative linear time algorithms based on path planning are known.
      A similar definition can also be given for the relative convex hull of two disjoint simple polygons. This type of hull can be used in algorithms for testing whether the two polygons can be separated into disjoint halfplanes by a continuous linear motion, and in data structures for collision detection of moving polygons.


      Higher dimensions


      The definition of relative convex hulls based on minimum enclosure does not extend to higher dimensions, because (even without being surrounded by an outer shape) the minimum surface area enclosure of a non-convex set is not generally convex. However, for the relative convex hull of a connected set within another set, a similar definition to one for simple polygons can be used. In this case, a relatively convex set can again be defined as a subset of the given outer set that contains all line segments in the outer set between pairs of its points. The relative convex hull can be defined as the intersection of all relatively convex sets that contain the inner set.


      References

    Kata Kunci Pencarian: