0
$\begingroup$

why MeshRegion[] introduces additional (useless) edges in the construction of polyhedra:

surf=Dodecahedron[];
vlist=#&@@@MeshCells[surf,1];
Graphics3D[Line[MeshCoordinates[surf][[#]]]&/@vlist]

enter image description here

surf=MeshRegion[Dodecahedron[]];
vlist=#&@@@MeshCells[surf,1];
Graphics3D[Line[MeshCoordinates[surf][[#]]]&/@vlist]

enter image description here

$\endgroup$
2
  • 2
    $\begingroup$ MeshRegion is building a volume mesh filled with Tetrahedron. It's not just meshing the surface. $\endgroup$
    – Greg Hurst
    Commented Jun 7 at 13:51
  • 1
    $\begingroup$ of course, you're right, I forgot the polyhedrons in Math are solids not surfaces, so the "useless" edges are just the edges of tetrahedrons coming form the volume triangulation. $\endgroup$
    – sebqas
    Commented Jun 18 at 7:44

1 Answer 1

6
$\begingroup$

We can use BoundaryMeshRegion

surf = BoundaryMeshRegion[Dodecahedron[]];

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.