A triangle representation for STL files. More...
Public Member Functions | |
STLtriangle () | |
Construct null. More... | |
STLtriangle (const STLpoint &normal, const STLpoint &a, const STLpoint &b, const STLpoint &c, unsigned short attrib) | |
Construct from components. More... | |
STLtriangle (istream &) | |
Construct from istream (read binary) More... | |
const STLpoint & | normal () const |
const STLpoint & | a () const |
const STLpoint & | b () const |
const STLpoint & | c () const |
unsigned short | attrib () const |
void | read (istream &) |
Read from istream (binary) More... | |
void | write (ostream &) |
Write to ostream (binary) More... | |
Friends | |
Ostream & | operator<< (Ostream &, const STLtriangle &) |
|
inline |
Construct null.
Definition at line 28 of file STLtriangleI.H.
|
inline |
Construct from components.
Definition at line 33 of file STLtriangleI.H.
|
inline |
Construct from istream (read binary)
Definition at line 49 of file STLtriangleI.H.
References STLtriangle::read().
|
inline |
Definition at line 57 of file STLtriangleI.H.
|
inline |
Definition at line 63 of file STLtriangleI.H.
|
inline |
Definition at line 69 of file STLtriangleI.H.
|
inline |
Definition at line 75 of file STLtriangleI.H.
|
inline |
Definition at line 81 of file STLtriangleI.H.
|
inline |
Read from istream (binary)
Definition at line 87 of file STLtriangleI.H.
Referenced by STLtriangle::STLtriangle().
|
inline |
Write to ostream (binary)
Definition at line 94 of file STLtriangleI.H.
|
friend |