Weakly simple polygon explained
In geometry, a weakly simple polygon is a generalization of a simple polygon, allowing the polygon sides to touch each other in limited ways. Different authors have defined weakly simple polygons in different ways:
- One definition is that, when a simply connected open set in the plane is bounded by finitely many line segments, then its boundary forms a weakly simple polygon.[1] In the image, ABCDEFGHJKLM is a weakly simple polygon according to this definition, with the color blue marking the region for which it is the boundary. This type of weakly simple polygon can arise in computer graphics and CAD as a computer representation of polygonal regions with holes: for each hole a "cut" is created to connect it to an external boundary. Referring to the image above, ABCM is an external boundary of a planar region with a hole FGHJ. The cut ED connects the hole with the exterior and is traversed twice in the resulting weakly simple polygonal representation.
- In an alternative and more general definition of weakly simple polygons, they are the limits of sequences of simple polygons. The polygons in the sequence should all have the same combinatorial type as each other, with convergence under the Fréchet distance.[2] This formalizes the notion that such a polygon allows segments to touch but not to cross. This generalizes the notion of the polygonal boundary of a topological disk: this boundary is the limit of a sequence of polygons, offset from it within the disk. However, this type of weakly simple polygon does not need to form the boundary of a region, as its "interior" can be empty. For example, referring to the same image, the polygonal chain ABCBA is a weakly simple polygon according to this definition: it may be viewed as the limit of "squeezing" of the polygon ABCFGHA.
Notes and References
- Book: STACS 2007: 24th Annual Symposium on Theoretical Aspects of Computer Science, Aachen, Germany, February 22-24, 2007, Proceedings. 2007. Springer. 978-3540709176. illustrated. Wolfgang. Thomas. Pascal. Weil. Light orthogonal networks with constant geometric dilation. Adrian. Dumitrescu. Csaba D.. Tóth. 177.
- Chang . Hsien-Chih . Erickson . Jeff . Xu . Chao . Indyk . Piotr . 1407.3340 . Detecting weakly simple polygons . 10.1137/1.9781611973730.110 . 1655–1670 . . Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA, January 4-6, 2015 . 2015.