Converts a polyhedron from the verticesfaces representation to the threeblock representation.
1  vf2blocks(Vertices,Faces)

Vertices 
N by 3 matrix containing the XYZ coordinates of N vertices 
Faces 
M by 3 matrix containing indices of vertices defining M faces 
The values in the Face
matrix must be integers with values running from 1 to N,
where N is the number of vertices. A value of '1' in this matrix, for example,
represents the 1st vertex, i.e., the vertex defined by the first row in the
matrix Vertices
.
This function is the inverse of the blocks2vf
function.
Returns a list of three matrices. The first is an M by 3 matrix containing the XYZ coordinates of vertex 1 of the M faces of the polyhedron. The second and third are similarly M by 3 matrices, but contain the XYZ coordinates of vertices 2 and 3 of the faces. See the example below.
1 2 3 4 5 6 7 8 9 10 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.