OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

triFace Class Reference

Inheritance diagram for triFace:

Inheritance graph
[legend]
Collaboration diagram for triFace:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 64 of file triFace.H.


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 44 of file triFaceI.H.

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

Construct from components.

Definition at line 50 of file triFaceI.H.

References FixedList::operator[]().

Here is the call graph for this function:

triFace ( Istream &   )  [inline]

Construct from Istream.

Definition at line 62 of file triFaceI.H.

References FixedList::operator[](), p, and triFace::points().

Here is the call graph for this function:


Member Function Documentation

pointField points ( const pointField &  points  )  const [inline]

Return the points corresponding to this face.

Definition at line 71 of file triFaceI.H.

Referenced by triFace::mag(), triFace::ray(), and triFace::triFace().

Here is the caller graph for this function:

face triFaceFace (  )  const [inline]

Return triagle as a face.

Definition at line 84 of file triFaceI.H.

label nEdges (  )  const [inline]

Return number of edges.

Definition at line 96 of file triFaceI.H.

References Foam::mathematicalConstant::e(), and FixedList::operator[]().

Here is the call graph for this function:

edgeList edges (  )  const [inline]

Return edges.

Definition at line 102 of file triFaceI.H.

point centre ( const pointField &   )  const [inline]

Return centre (centroid).

Definition at line 119 of file triFaceI.H.

scalar mag ( const pointField &   )  const [inline]

Return scalar magnitude.

Definition at line 130 of file triFaceI.H.

References FixedList::operator[](), and triFace::points().

Here is the call graph for this function:

vector normal ( const pointField &   )  const [inline]

Return vector normal.

Definition at line 136 of file triFaceI.H.

scalar sweptVol ( const pointField &  oldPoints,
const pointField &  newPoints 
) const [inline]

Return swept-volume.

Definition at line 147 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 180 of file triFaceI.H.

References p, and triFace::points().

Here is the call graph for this function:

triPointRef tri ( const pointField &   )  const [inline]

Return the tetrahedron.

Definition at line 197 of file triFaceI.H.


Friends And Related Function Documentation

bool operator== ( const triFace &  tf1,
const triFace &  tf2 
) [friend]

Definition at line 210 of file triFaceI.H.

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

Definition at line 224 of file triFaceI.H.


The documentation for this class was generated from the following files:
  • src/OpenFOAM/meshes/meshShapes/triFace/triFace.H
  • src/OpenFOAM/meshes/meshShapes/triFace/triFaceI.H
Copyright © 2000-2007 OpenCFD Ltd