78 int main(
int argc,
char *argv[])
94 if (importName == exportName)
97 <<
"Output file " << exportName <<
" would overwrite input file."
101 Info<<
"Reading : " << importName <<
endl;
105 surf.writeStats(
Info);
110 Info<<
"Cleaning up surface" <<
endl;
113 Info<<
"After cleaning up surface:" <<
endl;
114 surf.writeStats(
Info);
122 Info<<
"Reordering faces into groups; one per region." <<
endl;
126 Info<<
"Maintaining face ordering" <<
endl;
129 Info<<
"writing " << exportName;
131 scalar scaleFactor = 0;
134 Info<<
" with scaling " << scaleFactor;
135 surf.scalePoints(scaleFactor);
139 surf.
write(exportName, sortByRegion);