Reassembling polygons from edges
Many geometric algorithms accept as input a set of polygons specified by their sequence of vertices and give as output a set of polygons which result from some operation on the input polygons. For instance, the output may represent the contour of the union of the polygons. In many cases a plane-swee...
Uloženo v:
| Vydáno v: | International journal of computer mathematics Ročník 26; číslo 3-4; s. 207 - 217 |
|---|---|
| Hlavní autor: | |
| Médium: | Journal Article |
| Jazyk: | angličtina |
| Vydáno: |
Abingdon
Gordon and Breach Science Publishers
01.01.1989
Taylor and Francis |
| Témata: | |
| ISSN: | 0020-7160, 1029-0265 |
| On-line přístup: | Získat plný text |
| Tagy: |
Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
|
| Shrnutí: | Many geometric algorithms accept as input a set of polygons specified by their sequence of vertices and give as output a set of polygons which result from some operation on the input polygons. For instance, the output may represent the contour of the union of the polygons. In many cases a plane-sweep algorithm is used for such a problem. Typically such an algorithm will output the edges in the order that they would be encountered by a sweep line. Thus, one is left with the problem of determining which polygon each edge belongs to and ordering the edges in their natural cyclic order around each polygon. This is the problem considered in this paper, where it will be referred to as reassembling the set of edges. Although it is relatively easy to reassemble a set of edges of polygons in a single sweep, a naive approach will use O(N) space where N is the number of edges. This paper gives a space-efficient algorithm for doing the reassembly. It involves a forward and a backward sweep over the data. |
|---|---|
| ISSN: | 0020-7160 1029-0265 |
| DOI: | 10.1080/00207168908803695 |