CREATECUBEOCTAHEDRON Create a 3D mesh representing a cube-octahedron.

   [V, E, F] = createCubeOctahedron;
   Cubeoctahedron can be seen either as a truncated cube, or as a
   truncated octahedron.
   V is the 12-by-3 array of vertex coordinates
   E is the 27-by-2 array of edge vertex indices
   F is the 1-by-14 cell array of face vertex indices

   [V, F] = createCubeOctahedron;
   Returns only the vertices and the face vertex indices.

   MESH = createCubeOctahedron;
   Returns the data as a mesh structure, with fields 'vertices', 'edges'
   and 'faces'.

   Example
   [n, e, f] = createCubeOctahedron;
   drawMesh(n, f);
   
   See also
   meshes3d, drawMesh, createCube, createOctahedron

Package: matgeom