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;
100 const surfZone& zone = zones[zoneI];
106 const Face&
f = faceLst[
faceMap[faceIndex++]];
119 const Face&
f = faceLst[faceIndex++];
Various functions to operate on Lists.
#define forAll(list, i)
Loop across all elements in list.
bool good() const
Return true if next operation might succeed.
void size(const label)
Override size to be inconsistent with allocated storage.
A proxy for writing MeshedSurface, UnsortedMeshedSurface and surfMesh to various file formats.
const List< surfZone > & surfZones() const
Const access to the surface zones.
const List< Face > & faces() const
Return const access to the faces.
bool useFaceMap() const
Use faceMap?
const List< label > & faceMap() const
Const access to the faceMap, zero-sized when unused.
const pointField & points() const
Return const access to the points.
A class for handling file names.
A surface zone on a MeshedSurface.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void writeHeader(std::ostream &, const bool isBinary, const std::string &title)
Write header.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)