Guest User

Untitled

a guest
Jun 17th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. f[m_] := Graph[Range@MeshCellCount[m, 0], MeshCells[m, 1][[All, 1]], EdgeWeight -> PropertyValue[{m, 1}, MeshCellMeasure], VertexCoordinates -> MeshCoordinates[m]];
  2. BlockRandom[SeedRandom[12]; pts998 = RandomReal[100, {998, 3}];]
  3. BlockRandom[SeedRandom[12]; pts999 = RandomReal[100, {999, 3}];]
  4. BlockRandom[SeedRandom[12]; pts1000 = RandomReal[100, {1000, 3}];]
  5. f@DelaunayMesh[pts998]
  6. f@DelaunayMesh[pts999]
  7. f@DelaunayMesh[pts1000]
Add Comment
Please, Sign In to add comment