Сюжет VoronoiDiagram с использованием графики в Mathematica - PullRequest
1 голос
/ 25 июня 2011

Завершение вопросов о том, как построить ConvexHull или DelaunayTriangulation с использованием Graphics в Mathematica,

Теперь я хотел бы построить VoronoiDiagram в пределах Графика.

Учитывая :

Needs["ComputationalGeometry`"]
pts = RandomReal[{0, 10}, {60, 2}];
vdpts=VoronoiDiagram[pts]

1 Ответ

3 голосов
/ 25 июня 2011

Как насчет

Needs["ComputationalGeometry`"]
pts = RandomReal[{0, 10}, {10, 2}]
DiagramPlot[pts]

enter image description here

или я скучаю по твоей точке?

...