Face vertices of a 3D voronoi cell
I have generated a 3D Voronoi tessellations from a set of random seed points. Now, how can I determine the number of faces and the vertices that form each face for each 3D Voronoi cell?
P = rand(10, 3); % Example: 10 random points in 3D
[V, C] = voronoin(P);
C{i} gives me the indices of all the vertices that form the cell but I need information for the faces.
Your help and sopport is very much appreciated.
Thank you.I have generated a 3D Voronoi tessellations from a set of random seed points. Now, how can I determine the number of faces and the vertices that form each face for each 3D Voronoi cell?
P = rand(10, 3); % Example: 10 random points in 3D
[V, C] = voronoin(P);
C{i} gives me the indices of all the vertices that form the cell but I need information for the faces.
Your help and sopport is very much appreciated.
Thank you. I have generated a 3D Voronoi tessellations from a set of random seed points. Now, how can I determine the number of faces and the vertices that form each face for each 3D Voronoi cell?
P = rand(10, 3); % Example: 10 random points in 3D
[V, C] = voronoin(P);
C{i} gives me the indices of all the vertices that form the cell but I need information for the faces.
Your help and sopport is very much appreciated.
Thank you. voronoi, 3d, vertices, faces, edges, polygon MATLAB Answers — New Questions