58 ? surfaceFormatsCore::oneZone(faceLst,
"")
68 <<
"Cannot open file for writing " << filename
85 " <IndexedFaceSet coordIndex='\n";
96 const Face&
f = faceLst[
faceMap[faceIndex++]];
109 const Face&
f = faceLst[faceIndex++];
122 " <Coordinate point='\n";
127 const point& pt = pointLst[ptI];
129 os << pt.
x() <<
' ' << pt.
y() <<
' ' << pt.
z() <<
nl;
134 " </IndexedFaceSet>\n"
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)