OpenFOAM logo
Open Source CFD Toolkit

triFace Class Reference

Inheritance diagram for triFace:

Inheritance graph
[legend]
Collaboration diagram for triFace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 triFace ()
 Construct null.
 triFace (const label a, const label b, const label c)
 Construct from components.
 triFace (Istream &)
 Construct from Istream.
pointField points (const pointField &points) const
 Return the points corresponding to this face.
face triFaceFace () const
 Return triagle as a face.
label nEdges () const
 Return number of edges.
edgeList edges () const
 Return edges.
point centre (const pointField &) const
 Return centre (centroid).
scalar mag (const pointField &) const
 Return scalar magnitude.
vector normal (const pointField &) const
 Return vector normal.
scalar sweptVol (const pointField &oldPoints, const pointField &newPoints) const
 Return swept-volume.
pointHit ray (const point &p, const vector &q, const pointField &points, const intersection::algorithm=intersection::FULL_RAY, const intersection::direction dir=intersection::VECTOR) const
 Return point intersection with a ray starting at p, with.
triPointRef tri (const pointField &) const
 Return the tetrahedron.

Friends

bool operator== (const triFace &, const triFace &)
bool operator!= (const triFace &, const triFace &)

Constructor & Destructor Documentation

triFace  )  [inline]
 

Construct null.

Definition at line 49 of file triFaceI.H.

References Foam::label.

triFace const label  a,
const label  b,
const label  c
[inline]
 

Construct from components.

Definition at line 55 of file triFaceI.H.

triFace Istream  )  [inline]
 

Construct from Istream.

Definition at line 67 of file triFaceI.H.

References FixedList< label, 3 >::operator[](), p, and Foam::pointField.

Here is the call graph for this function:


Member Function Documentation

point centre const pointField  )  const [inline]
 

Return centre (centroid).

Definition at line 124 of file triFaceI.H.

edgeList edges  )  const [inline]
 

Return edges.

Definition at line 107 of file triFaceI.H.

scalar mag const pointField  )  const [inline]
 

Return scalar magnitude.

Definition at line 135 of file triFaceI.H.

label nEdges  )  const [inline]
 

Return number of edges.

Definition at line 101 of file triFaceI.H.

References Foam::edgeList.

vector normal const pointField  )  const [inline]
 

Return vector normal.

Definition at line 141 of file triFaceI.H.

References Foam::pointField.

pointField points const pointField points  )  const [inline]
 

Return the points corresponding to this face.

Definition at line 76 of file triFaceI.H.

pointHit ray const point p,
const vector q,
const pointField points,
const intersection::algorithm  = intersection::FULL_RAY,
const intersection::direction  dir = intersection::VECTOR
const [inline]
 

Return point intersection with a ray starting at p, with.

direction n.

Definition at line 185 of file triFaceI.H.

References Foam::triPointRef.

scalar sweptVol const pointField oldPoints,
const pointField newPoints
const [inline]
 

Return swept-volume.

Definition at line 152 of file triFaceI.H.

triPointRef tri const pointField  )  const [inline]
 

Return the tetrahedron.

Definition at line 202 of file triFaceI.H.

face triFaceFace  )  const [inline]
 

Return triagle as a face.

Definition at line 89 of file triFaceI.H.


Friends And Related Function Documentation

bool operator!= const triFace tf1,
const triFace tf2
[friend]
 

Definition at line 229 of file triFaceI.H.

bool operator== const triFace tf1,
const triFace tf2
[friend]
 

Definition at line 215 of file triFaceI.H.


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