Extraction of the quad layout of a triangle mesh guided by its curve skeleton