Updated everything to triangles. Wrote a small section on ordering the middle box verts.
Some refactoring of main.
Added a diagram in case some other poor soul has to look at this.
Added lists for the new curve verts.
Added a function for replacing the original curves with new ones representing changes to the high valence surface.
Updating to an easier way of making the model watertight (hopefully). This will use "dam" triangles at each edge of the cube surface to localize all new triangles to a single triangle for the entire edge. In-code diagram to come.
Added in the dam triangles and fixed a mistake in adding the dam verts to the proper list.
Added in ordering and creation of the box triangles.
Finished adding triangles! Needs some major cleanup...
Added a line to actually add the dam triangles to the surface meshset.
Cleanup of unused functions like replace_curves and all of the commented code in refact_surface.
More cleanup. Changed the name of a variable.
Created a new function that will refacet the surface with an empty box of size A_f*A_s centered on the origin.
Finished factoring out the new function generate_box_space and removed deprecated add_box_to_surf. Added some comments to the functions as well.
Small cleanup of functino prototypes.
Added some ASCII art to describe how the surface is being recreated.
Putting my ASCII art here for now because the compiler didn't like it even when commented.
Implementation of hv region creation. May still need some work. also a correction to box to dam triangle creation.
Corrections to setting the parameter u and for the number of steps in the for loop in make_hv_region.
Added argument handling.