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