void writeDebugMesh(const BaseMesh< BaseVecT > &mesh, string filename="debug.ply", Rgb8Color color={255, 0, 0})
Write a mesh to the given filename and color it with the given color.
void writeDebugContourMesh(const BaseMesh< BaseVecT > &mesh, string filename="debug-contours.ply", Rgb8Color connectedColor={0, 255, 0}, Rgb8Color contourColor={0, 0, 255}, Rgb8Color bugColor={255, 0, 0})
Writes a mesh to the given filename and colors it with the following meaning: