38 #ifndef Foam_STLtriangle_H 39 #define Foam_STLtriangle_H 53 inline Ostream&
operator<<(Ostream&
os,
const STLtriangle& tri);
64 typedef uint16_t STLattrib;
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 void read(std::istream &is)
Read from istream (binary)
uint16_t attrib() const noexcept
const STLpoint & normal() const noexcept
Ostream & print(Ostream &os) const
Write to Ostream (ASCII)
A triangle representation for STL files.
void write(std::ostream &os) const
Write to ostream (binary)
const STLpoint & b() const noexcept
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
const STLpoint & c() const noexcept
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
STLtriangle()=default
Default construct.
const volScalarField & p0
const STLpoint & a() const noexcept
friend Ostream & operator<<(Ostream &os, const STLtriangle &tri)
Print triangle contents.
A vertex point or facet normal representation for STL files.