2

I believe that this is a doc error in V10 (this was programmed to be but not implemented). The new VoronoiMesh should work for 3D set of points.

The DelaunayMesh function works. Here is a doc example:

pts = RandomReal[{-1, 1}, {25, 3}];
DelaunayMesh[RandomReal[{-1, 1}, {25, 3}]]

enter image description here

But if you try:

pts = RandomReal[{-1, 1}, {25, 3}];
VoronoiMesh[pts]

You get the error: enter image description here

Docs for Voronoi say:

The cells will be intervals in 1D, convex polygons in 2D, and convex polyhedra in 3D.

Tested in V10.0.0 for Mac and Win.

Murta
  • 26,275
  • 6
  • 76
  • 166

0 Answers0