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);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Istream & read(token &)=0
Return next token from stream.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
label size() const
The surface size is the number of faces.
void writeStats(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
A bounding box defined in terms of min/max extrema points.
static bool isTri()
Face-type only handles triangles. Not true in general.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
Ostream & endl(Ostream &os)
Add newline and flush stream.
Istream & operator>>(Istream &, directionInfo &)
constexpr char nl
The newline '\n' character (0x0a).