56 ? surfaceFormatsCore::oneZone(faceLst,
"")
66 <<
"Cannot open file for writing " << filename
80 " geometry IndexedFaceSet {\n" 81 " coord Coordinate {\n" 87 const point& pt = pointLst[ptI];
89 os << pt.
x() <<
' ' << pt.
y() <<
' ' << pt.
z() <<
nl;
106 const Face&
f = faceLst[faceMap[faceIndex++]];
119 const Face&
f = faceLst[faceIndex++];
#define forAll(list, i)
Loop across all elements in list.
A class for handling file names.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A surface zone on a MeshedSurface.
void size(const label)
Override size to be inconsistent with allocated storage.
bool good() const
Return true if next operation might succeed.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
Various functions to operate on Lists.
bool useFaceMap() const
Use faceMap?
void writeHeader(std::ostream &, const bool isBinary, const std::string &title)
Write header.
const List< Face > & faces() const
Return const access to the faces.
const List< surfZone > & surfZones() const
Const access to the surface zones.
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats...
const pointField & points() const
Return const access to the points.
const List< label > & faceMap() const
Const access to the faceMap, zero-sized when unused.