A triangle representation for STL files. More...
#include <triSurface/STLtriangle.H>
A triangle representation for STL files.
Definition at line 51 of file STLtriangle.H.
Public Member Functions | |
STLtriangle () | |
Construct null.
| |
STLtriangle (const STLpoint &normal, const STLpoint &a, const STLpoint &b, const STLpoint &c, unsigned short attrib) | |
Construct from components.
| |
STLtriangle (istream &) | |
Construct from istream (read binary)
| |
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)
| |
void | write (ostream &) |
Write to ostream (binary)
| |
STLtriangle () | |
Construct null.
| |
STLtriangle (const STLpoint &normal, const STLpoint &a, const STLpoint &b, const STLpoint &c, unsigned short region) | |
Construct from components.
| |
STLtriangle (istream &) | |
Construct from istream (read binary)
| |
const STLpoint & | a () const |
const STLpoint & | b () const |
const STLpoint & | c () const |
unsigned short | region () const |
void | read (istream &) |
Read from istream (binary)
| |
void | write (ostream &) |
Write to istream (binary)
| |
Friends | |
Ostream & | operator<< (Ostream &, const STLtriangle &) |
Ostream & | operator<< (Ostream &, const STLtriangle &) |
STLtriangle | ( | ) | [inline]
|
Construct null.
Definition at line 28 of file STLtriangleI.H.
STLtriangle | ( | const STLpoint & | normal, |
const STLpoint & | a, | ||
const STLpoint & | b, | ||
const STLpoint & | c, | ||
unsigned short | attrib | ||
) | [inline]
|
Construct from components.
Definition at line 33 of file STLtriangleI.H.
STLtriangle | ( | istream & | is ) | [inline]
|
Construct from istream (read binary)
Construct from istream (binary)
Definition at line 49 of file STLtriangleI.H.
STLtriangle | ( | ) | [inline]
|
Construct null.
STLtriangle | ( | const STLpoint & | normal, |
const STLpoint & | a, | ||
const STLpoint & | b, | ||
const STLpoint & | c, | ||
unsigned short | region | ||
) | [inline]
|
Construct from components.
STLtriangle | ( | istream & | ) | [inline]
|
Construct from istream (read binary)
const Foam::STLpoint & normal | ( | ) | const [inline]
|
Definition at line 57 of file STLtriangleI.H.
const STLpoint & a | ( | ) | const [inline]
|
Definition at line 63 of file STLtriangleI.H.
const STLpoint & b | ( | ) | const [inline]
|
Definition at line 69 of file STLtriangleI.H.
const STLpoint & c | ( | ) | const [inline]
|
Definition at line 75 of file STLtriangleI.H.
unsigned short attrib | ( | ) | const [inline]
|
Definition at line 81 of file STLtriangleI.H.
void read | ( | istream & | is ) | [inline]
|
Read from istream (binary)
Definition at line 87 of file STLtriangleI.H.
void write | ( | ostream & | os ) | [inline]
|
Write to ostream (binary)
Definition at line 94 of file STLtriangleI.H.
const STLpoint& a | ( | ) | const [inline]
|
const STLpoint& b | ( | ) | const [inline]
|
const STLpoint& c | ( | ) | const [inline]
|
unsigned short region | ( | ) | const [inline]
|
Definition at line 82 of file STLtriangleI.H.
void read | ( | istream & | ) | [inline]
|
Read from istream (binary)
void write | ( | ostream & | ) | [inline]
|
Write to istream (binary)
Ostream& operator<< | ( | Ostream & | os, |
const STLtriangle & | stlt | ||
) | [friend]
|
Definition at line 103 of file STLtriangleI.H.
Ostream& operator<< | ( | Ostream & | os, |
const STLtriangle & | stlt | ||
) | [friend]
|
Definition at line 103 of file STLtriangleI.H.