領域上での点のサンプリング
バージョン11には,領域上で一様に点をサンプリングする機能および点から曲面を再構築する機能が含まれている.
スタンフォード(Stanford)うさぎ.
In[1]:=
mesh = ExampleData[{"Geometry3D", "StanfordBunny"}, "Region"];In[2]:=
MeshCellCount[mesh]Out[2]=
メッシュのダウンサンプリングを行う.
In[3]:=
pointcloud = RandomPoint[mesh, 10000];In[4]:=
Graphics3D[{PointSize[Small], Point[pointcloud]}]Out[4]=

より小さい曲面を点から再構築する.
In[5]:=
ListSurfacePlot3D[pointcloud, MaxPlotPoints -> 40, Axes -> None,
Boxed -> False, Mesh -> None]Out[5]=

In[6]:=
ListSurfacePlot3D[pointcloud, MaxPlotPoints -> 40, Axes -> None,
Boxed -> False, Mesh -> None];
MeshCellCount[DiscretizeGraphics[%]]Out[6]=