Polyhedron

  • Polyhedron Examples


Gem3


 Star


Gem 



  • Coloring Patch

      vert=[1 0 0;-1 0 0;0 1 0;0 -1 0;0 0 1;0 0 -1];
   face=[3 5 2;5 3 1;6 3 2;3 6 1;4 5 1;5 4 2;4 6 2;6 4 1];
    
 One color for complete patch

patch('faces',face,'vertices',vert,'facecolor',[0 0 1]); %only blue color





 
 One color per face

colors=hsv(length(face));
patch('faces',face,'vertices',vert,'facecolor','flat','facevertexcdata',colors);




 
 One color per vertex

colors=hsv(length(vert));
patch('faces',face,'vertices',vert,'facecolor','flat','facevertexcdata',colors);




 
 Interpolated color

 colors=hsv(length(face));
patch('faces',face,'vertices',vert,'facecolor','interp','facevertexcdata',colors);




 
 Indexed color

patch('faces',face,'vertices',vert,'facecolor','flat','Cdata',1:8);
colormap(copper(8))




 


                                                                            
  • Polyhedron Data

          Some polyhedron and their vertex,face and edge data.Face List has index of vertex list.By connecting vertex in this order we will get a face of that particular polyhedron. For example first row of face list for cube has [1 2 3 4] it means if we connect vertex number 1,2,3 and 4 then we will get one face of cube.By connecting complete array in the specified sequence we will get a complete cube.
                  Edge List has index of vertex list.By connecting vertex in this order we will get an edge of that particular polyhedron.For example first row of edge list for cube has [1 2 ] it means if we connect vertex number 1 and 2then we will get one edge of cube.
          Some polyhedron images are shown with their edges only and some with their faces.Click on the link below each image to download complete data in single file.       
  
 Polyhedron
 Vertex List
 Face List
 Edge List

 Cube



vert=[1 1 1
      1 1 -1
      1 -1 1
      1 -1 -1
     -1 1 1
     -1 1 -1
     -1 -1 1
     -1 -1 -1];
  face=[1 2 4 3
          1 5 6 2
          5 6 8 7
          7 8 4 3
          1 3 7 5
          2 4 8 6];
 edge=[ 1     2
           1     3
           1     5
           2     4
           2     6
           3     4
           3     7
           4     8
           5     6
           5     7
           6     8
           7     8];

 Tetrahedron



tetrahedronData.zip

 vert=[1  1  1
        -1 -1  1
        -1  1 -1
         1 -1 -1];
 face=[1 2 3
          2 3 4
          1 3 4
          1 2 4];
 edge=[1     2
           1     3
           1     4
           2     3
           2     4
           3     4];

 Octahedron



 octahedronData.zip
 vert=[1  0  0
        -1  0  0
         0  1  0
         0 -1  0
         0  0  1
         0  0 -1];

 face=[3 5 2
          5 3 1
          6 3 2
          3 6 1
          4 5 1
          5 4 2
          4 6 2
          6 4 1];

 edge=[1     3
           1     4
           1     5
           1     6
           2     3
           2     4
           2     5
           2     6
           3     5
           3     6
           4     5
           4     6];

 Icosahedron



 icosahedronData.zip
     

 Dodecahedron



dodecahedronData.zip
     

 Rhombic Triacontahedron


     

 Rhombicosidodecahedron



     

 Icosidodecahedron



icosidodecahedronData.zip
     

 Rhombododecahedron






rhombododecahedronData.zip
 vert = [0 0 2
          1 -1 1
          1 1 1
         -1 1 1
         -1 -1 1
          2 0 0
          0 2 0
         -2 0 0
          0 -2 0
          1 -1 -1
          1 1 -1
          -1 1 -1
          -1 -1 -1
           0 0 -2];

 face=[ 2     1     3     6
           9     5     1     2
           3     1     4     7
           4     1     5     8
           9     2     6    10
           6     3     7    11
           7     4     8    12
           8     5     9    13
         10     6    11    14
         14    11     7    12
         14    12     8    13
         13     9    10    14 ];
 

 Truncated Icosahedron

 or Buckyball

buckyballData.zip
     

 Square Antiprism






 vert=[0        1     1
         -1        0     1
          0       -1     1
          1        0     1
         -0.7071  0.7071 0
         -0.7071 -0.7071 0
          0.7071 -0.7071 0
          0.7071  0.7071 0];
 face1=[1     2     5
           1     4     8
           1     5     8
           2     3     6
           2     5     6
           3     4     7
           3     6     7
           4     7     8];

face2=[ 3     2     1     4
            6     7     8     5];
 edge=[1     2
     1     4
     1     5
     1     8
     2     3
     2     5
     2     6
     3     4
     3     6
     3     7
     4     7
     4     8
     5     6
     5     8
     6     7
     7     8];

Cuboctahedron





 vert=[-1     1     0
    -1     0     1
    -1    -1     0
    -1     0    -1
     0     1    -1
     0    -1    -1
     1     0    -1
     1    -1     0
     1     0     1
     1     1     0
     0     1     1
     0    -1     1];

 face1=[1     2    11
     1     4     5
     2     3    12
     3     4     6
     5     7    10
     6     7     8
     8     9    12
     9    10    11];
face2=[1     2     3     4
         10    11     1     5
         12     2    11     9
          3    12     8     6
          6     7     5     4
          8     9    10     7];

 

 Truncated Dodecahedron




truncateddodecahedronData.zip

     

 Truncated Icosidodecahedron



truncatedicosidodecahedronData.zip

     

 Snub Cube


Snub Sube

snubcubeData.zip