67 void writeAndCheck(
const char);
123 const bool quoted=
true 157 const bool lines =
true 165 const bool lines =
true A triangle primitive used to calculate face areas and swept volumes.
virtual Ostream & write(const char)=0
Write character.
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.
A face is a list of labels corresponding to mesh vertices.
versionNumber version() const
Return the stream version.
virtual Ostream & write(const char)
Write character.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
A class for handling words, derived from string.
streamFormat
Enumeration for the format of data in the stream.
streamFormat format() const
Return current stream format.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
compressionType
Enumeration for the format of data in the stream.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OFstream which keeps track of vertices.
compressionType compression() const
Return the stream compression.
static const versionNumber currentVersion
Current version number.
OBJstream(const fileName &filePath, streamFormat format=ASCII, versionNumber version=currentVersion, compressionType compression=UNCOMPRESSED)
Construct from filePath.
virtual Ostream & writeQuoted(const std::string &, const bool quoted=true)
Write std::string surrounded by quotes.
label nVertices() const
Return the number of vertices written.