26 #include "writePointSet.H" 28 #include "writeFuns.H" 40 const primitiveMesh& mesh,
42 const fileName& fileName
45 std::ofstream pStream(fileName.c_str());
48 <<
"# vtk DataFile Version 2.0" << std::endl
58 pStream <<
"DATASET POLYDATA" <<
std::endl;
labelList pointLabels(nPoints,-1)
void size(const label)
Override size to be inconsistent with allocated storage.
void writePointSet(const bool binary, const primitiveMesh &mesh, const topoSet &set, const fileName &fileName)
Write pointSet to vtk polydata file.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static void insert(const point &, DynamicList< floatScalar > &dest)
Append point to given DynamicList.
vectorField pointField
pointField is a vectorField.
List< label > labelList
A List of labels.
static void write(std::ostream &, const bool, DynamicList< floatScalar > &)
Write floats ascii or binary.