88 int main(
int argc,
char *argv[])
105 word importName(
"default");
133 ? dictPath/coordinateSystems::typeName
149 coordinateSystems::typeName,
163 <<
"Cannot open coordinateSystems file\n "
174 label csId = csLst.find(csName);
178 <<
"Cannot find -from " << csName <<
nl
179 <<
"available coordinateSystems: " << csLst.toc() <<
nl
190 label csId = csLst.find(csName);
194 <<
"Cannot find -to " << csName <<
nl
195 <<
"available coordinateSystems: " << csLst.toc() <<
nl
207 <<
"Only allowed '-from' or '-to' option at the moment."
225 Info<<
"read surfMesh:\n " << smesh.objectPath() <<
endl;
240 Info<<
" -scaleIn " << scaleIn <<
endl;
241 surf.scalePoints(scaleIn);
244 if (fromCsys.
valid())
246 Info<<
" -from " << fromCsys().name() <<
endl;
248 surf.movePoints(tpf());
253 Info<<
" -to " << toCsys().name() <<
endl;
255 surf.movePoints(tpf());
261 Info<<
" -scaleOut " << scaleOut <<
endl;
262 surf.scalePoints(scaleOut);
266 surf.writeStats(
Info);
269 Info<<
"writing " << exportName <<
endl;
270 surf.
write(exportName);