35 void triSurface::writeOFF(
const bool writeSorted, Ostream& os)
const
39 <<
"# Geomview OFF file" <<
endl
40 <<
"# Regions:" <<
endl;
48 os <<
"# " << patchI <<
" "
49 << myPatches[patchI].name() <<
endl;
55 os <<
"# nPoints nTriangles nEdges" << endl
64 os << ps[pointi].x() <<
' '
65 << ps[pointi].y() <<
' '
66 << ps[pointi].z() <<
" #" << pointi <<
endl;
82 patchFaceI < myPatches[patchI].size();
86 const label faceI = faceMap[faceIndex++];