Go to the documentation of this file.
97 inline unsigned short attrib()
const;
103 inline void read(istream&);
109 inline void write(ostream&);
STLattrib attrib_
The attribute information could for colour or solid id, etc.
unsigned short attrib() const
STLpoint normal_
The face normal, many programs write zore or other junk.
friend Ostream & operator<<(Ostream &, const STLtriangle &)
void write(ostream &)
Write to istream (binary)
unsigned short STLattrib
Attribute is 16-bit.
const STLpoint & b() const
const STLpoint & c() const
A triangle representation for STL files.
A vertex point representation for STL files.
void read(istream &)
Read from istream (binary)
STLpoint a_
The three points defining the triangle.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const STLpoint & normal() const
STLtriangle()
Construct null.
const STLpoint & a() const
A normal distribution model.