OpenFOAM logo
Open Source CFD Toolkit

STLtriangle Class Reference

Collaboration diagram for STLtriangle:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 STLtriangle ()
 Construct null.
 STLtriangle (const STLpoint &normal, const STLpoint &a, const STLpoint &b, const STLpoint &c, short region)
 Construct from components.
 STLtriangle (istream &)
 Construct from istream (binary).
const STLpoint & a () const
const STLpoint & b () const
const STLpoint & c () const
short region () const
void read (istream &)
 Read from istream (binary).
void write (ostream &)
 Write to istream (binary).

Friends

Ostream & operator<< (Ostream &, const STLtriangle &)

Constructor & Destructor Documentation

STLtriangle (   )  [inline]
 

Construct null.

Definition at line 45 of file STLtriangleI.H.

STLtriangle (  const STLpoint &  normal,
const STLpoint &  a,
const STLpoint &  b,
const STLpoint &  c,
short  region
)  [inline]
 

Construct from components.

Definition at line 51 of file STLtriangleI.H.

STLtriangle (  istream &   )  [inline]
 

Construct from istream (binary).

Definition at line 68 of file STLtriangleI.H.


Member Function Documentation

const STLpoint & a (   )  const [inline]
 

Definition at line 76 of file STLtriangleI.H.

const STLpoint & b (   )  const [inline]
 

Definition at line 81 of file STLtriangleI.H.

const STLpoint & c (   )  const [inline]
 

Definition at line 86 of file STLtriangleI.H.

void read (  istream &   )  [inline]
 

Read from istream (binary).

Definition at line 97 of file STLtriangleI.H.

short region (   )  const [inline]
 

Definition at line 91 of file STLtriangleI.H.

void write (  ostream &   )  [inline]
 

Write to istream (binary).

Definition at line 104 of file STLtriangleI.H.

References STLtriangle::a_, STLtriangle::b_, STLtriangle::c_, STLtriangle::normal_, and STLtriangle::region_.


Friends And Related Function Documentation

Ostream& operator<< (  Ostream &  os,
const STLtriangle &  stlt
)  [friend]
 

Definition at line 112 of file STLtriangleI.H.


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org