Abstract:
|
In this paper we present algorithms to extract the boundary representation of orthogonal polygons and polyhedra, either manifold or pseudomanifold. The algorithms we develop reconstruct not only the polygons of the boundaries but also the hole-face inclusion relationship. Our algorithms have a simple input in order that they can be used to convert many different kinds of models to B-Rep. For the 2D case, the input is the set of vertices, and for the 3D case, some small additional information must be supplied for every vertex. All proposed algorithms run in $mathcal{O}(nlog n)$ time and use $mathcal{O}(n)$ space, where $n$ is the number of vertices of the input. Besides, we explain how to use our proposal to extract the boundary from the well-known voxel and octree models and from other models found in the related literature: the neighbourhood, the EVM, and the weighted vertex list models. |