regular/constrained_surface library