영역에서의 점의 샘플링
버전 11은 영역에서 균일한 점 샘플링 기능 및 점에서 곡면을 재구성하는 기능을 포함하고 있습니다.
스탠포드 버니 모델을 살펴봅니다.
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]=