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" #define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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?
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.