arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2208.03682cs.GR
收藏

O(1)复杂度的凸多边形中点和凸多面体中点的空间剖分算法

Point-in-Convex Polygon and Point-in-Convex Polyhedron Algorithms with O(1) Complexity using Space Subdivision

Vaclav Skala

摘要:

为了提高计算速度,许多算法都采用了空间细分和空间划分技术。它们主要依赖于正交空间细分,分别。使用分级数据结构,例如BSP树、四叉树、八叉树、kd树、包围体分级结构等。然而,在某些应用中,非正交空间细分可以提供用于实际加速的新方法。在E3中凸多边形的情况下,简单的点入多边形检验的复杂度为O(N),最优算法的计算复杂度为O(lgN)计算复杂性。在E3的情况下,即使对于凸多面体,复杂度也是O(N),因为没有定义排序。在预处理阶段,提出了基于空间剖分的凸点多边形和凸点多面体算法,其运行时间复杂度为O(1)。所提出的方法是简单的实现。由于对偶原理,对偶问题,如线凸多边形,线裁剪,可以解决类似的。

英文摘要:

There are many space subdivision and space partitioning techniques used in many algorithms to speed up computations. They mostly rely on orthogonal space subdivision, resp. using hierarchical data structures, e.g. BSP trees, quadtrees, octrees, kd-trees, bounding volume hierarchies, etc. However in some applications a non-orthogonal space subdivision can offer new ways for actual speed up. In the case of convex polygon in E3 a simple Point-in-Polygon test is of the O(N) complexity and the optimal algorithm is of O(lg N) computational complexity. In the E3 case, the complexity is O(N) even for the convex polyhedron as no ordering is defined. New Point-in-Convex Polygon and Point-in-Convex Polyhedron algorithms are presented based on space subdivision in the preprocessing stage resulting to O(1) run-time complexity. The presented approach is simple to implement. Due to the principle of duality, dual problems, e.g. line-convex polygon, line clipping, can be solved in a similarly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑