solvespace/srf/triangulate.cpp