Get Voronoi diagram #100
Joseph-HLLin
started this conversation in
General
Replies: 1 comment
-
Hi,
Here is the command to generate a (volumetric) Voronoi diagram restricted to a tet mesh:
As can be seen, you get on the boundary all the intersections between the Voronoi cells and the triangles of the surface, which is normal, because they can be non-planar (so in general you want them). You can merge some of these polygons based on the angles between their normals (merge them if the angle is smaller than the specified threshold), as follows:
To see how to do that programatically, refer to the sources of voraplite and to the documentation of the CentroidalVoronoiTessellation class |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi developers,
I'd like to get the Voronoi diagram of a surface mesh from RVD function. However, when I used "compute_RVD", it gave me the intersection of mesh and Voronoi diagram. Does anyone know how to get the Voronoi diagram only?
Thank you so much : )
Beta Was this translation helpful? Give feedback.
All reactions