49 const bool writeLinesOnly
59 os <<
"v " <<
p.x() <<
' ' <<
p.y() <<
' ' <<
p.z() <<
nl;
66 os <<
"l " <<
e[0] + vertIndex + 1
67 <<
' ' <<
e[1] + vertIndex + 1 <<
nl;
75 for (
const label fpi :
f)
77 os <<
' ' << fpi + vertIndex + 1;
83 vertIndex +=
pts.size();
static void writeOBJ(Ostream &os, const treeBoundBox &bb, label &vertIndex, const bool writeLinesOnly=false)
Write treeBoundBox in OBJ format.
static scalar perturbTol_
Relative perturbation tolerance.
constexpr char nl
The newline '\n' character (0x0a)
static const faceList faces
Face to point addressing, using octant corner points.
const dimensionedScalar e
Elementary charge.
static const edgeList edges
Edge to point addressing, using octant corner points.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
defineTypeNameAndDebug(combustionModel, 0)
tmp< pointField > points() const
Vertex coordinates. In octant coding.
Standard boundBox with extra functionality for use in octree.