40 is >> this->storedZones()
41 >> this->storedPoints()
42 >> this->storedFaces();
52 os << this->surfZones()
64 os <<
"points : " << this->
points().size() <<
nl;
67 os <<
"triangles : " << this->size() <<
nl;
71 label nTri = 0, nQuad = 0;
72 for (
const Face&
f : *
this)
74 const label
n =
f.size();
86 os <<
"faces : " << this->size()
87 <<
" (tri:" << nTri <<
" quad:" << nQuad
88 <<
" poly:" << (this->size() - nTri - nQuad) <<
")" <<
nl;
91 os <<
"boundingBox : " << boundBox(this->
points()) <<
endl;
100 return surf.
read(is);
105 Foam::Ostream& Foam::operator<<(Ostream& os, const MeshedSurface<Face>& surf)
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
void writeStats(Ostream &os) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual Istream & read(token &)=0
Return next token from stream.
Istream & operator>>(Istream &, directionInfo &)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)