The boundary is visualized on the left. At first, the convex hull is generated. Then, the boundary is used to slice the convex hull into a manifold partition. Manifold partition elements outside are discarded. Starting from outside, the remaining manifolds are alternating either part of the geometry or holes. Unassigned manifold partition elements are visualized gray, manifold partition elements assigned to the geometry are colored in blue. |
The union of all region boundaries and the hole and seed points are visualized on the left, using colored circles to depict seed points and white circles for hole points. At first, the convex hull is generated. Then, the union of the region boundaries is used to slice the convex hull into a manifold partition. Manifold partition elements outside of the union of the region boundaries or, where a hole point is inside, are discarded. All other manifold partition elements are assigned to the corresponding region using the seed points. |
florian 2016-11-21