计算机科学 > 计算几何
[提交于 2023年12月27日]
标题:Polygon Detection from a Set of Lines
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Detecting polygons defined by a set of line segments in a plane is an important step in analyzing vector drawings. This paper presents an approach combining several algorithms to detect basic polygons from arbitrary line segments. The resulting algorithm runs in polynomial time and space, with complexities of $O\bigl((N + M)^4\bigr)$ and $O\bigl((N + M)^2\bigr)$, where $N$ is the number of line segments and $M$ is the number of intersections between line segments. Our choice of algorithms was made to strike a good compromise between efficiency and ease of implementation. The result is a simple and efficient solution to detect polygons from lines.
提交历史
来自:Joaquim Jorge[v1] 2023年12月27日 星期三 00:09:15 UTC