89 is.read(reinterpret_cast<char*>(
this), 4*
sizeof(
STLpoint));
90 is.read(reinterpret_cast<char*>(&attrib_),
sizeof(STLattrib));
96 os.write(reinterpret_cast<char*>(
this), 4*
sizeof(
STLpoint));
97 os.write(reinterpret_cast<char*>(&attrib_),
sizeof(STLattrib));
const STLpoint & c() const
STLtriangle()
Construct null.
unsigned short attrib() const
const STLpoint & a() const
A triangle representation for STL files.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(ostream &)
Write to ostream (binary)
Ostream & operator<<(Ostream &, const ensightPart &)
const STLpoint & b() const
const STLpoint & normal() const
void read(istream &)
Read from istream (binary)
A vertex point representation for STL files.