38#ifndef Foam_STLtriangle_H
39#define Foam_STLtriangle_H
64 typedef uint16_t STLattrib;
105 const STLpoint&
b() const
noexcept {
return b_; }
106 const STLpoint&
c() const
noexcept {
return c_; }
113 inline void read(std::istream& is);
119 inline void write(std::ostream&
os)
const;
126 inline static void write
136 inline static void write
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A vertex point or facet normal representation for STL files.
A triangle representation for STL files.
const STLpoint & a() const noexcept
const STLpoint & normal() const noexcept
Ostream & print(Ostream &os) const
Write to Ostream (ASCII).
const STLpoint & b() const noexcept
const STLpoint & c() const noexcept
STLtriangle()=default
Default construct.
uint16_t attrib() const noexcept
friend Ostream & operator<<(Ostream &os, const STLtriangle &tri)
Print triangle contents.
void read(std::istream &is)
Read from istream (binary).
const volScalarField & p0
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).
vector point
Point is a vector.