smcquay/surfaces — pull request #4 by willblatt (2012-03-19 00:07:17+00:00)
Title: Some more changes on face subdividing

Since subdividing requires setting up all the references to the newly subdivided faces to the edges and vertices, I tried setting up a routine in the face object that essentially subdivides the face and stores it in subFaces. Most of the references for creating the edge list, face list and vertex list are there (but a few are missing...) I'm not sure if this is the right way to go but it seems to be working. I don't have any testing setup, that would be the next step: print out the mesh and create a way to visually see that the subdivisions are working and then print a list of references to make sure the linkages were recreated correctly.