43 int main(
int argc,
char *argv[])
56 Info<<
"Reading surface from " << surfFileName <<
" ..." <<
endl;
57 Info<<
"Merging points within " << mergeTol <<
" metre." <<
endl;
63 surf1.writeStats(
Info);
70 label nOldVert = cleanSurf.nPoints();
74 Info<<
"After merging points:" <<
endl;
76 cleanSurf.writeStats(
Info);
78 if (nOldVert == cleanSurf.nPoints())
84 cleanSurf.
write(outFileName);
virtual Ostream & write(const char)=0
Write character.
Extract command arguments and options from the supplied argc and argv parameters.
static SLList< string > validArgs
A list of valid (mandatory) arguments.
T argRead(const label index) const
Read a value from the argument at index.
A class for handling file names.
Triangulated surface description with patch information.
int main(int argc, char *argv[])
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Foam::argList args(argc, argv)