OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

surfaceLocation Class Reference

Contains information about location on a triSurface:. More...

Inheritance diagram for surfaceLocation:
Collaboration diagram for surfaceLocation:

List of all members.


Public Member Functions

 surfaceLocation ()
 Construct null.
 surfaceLocation (const pointIndexHit &pih, const triPointRef::proxType elementType, const label triangle)
 Construct from components.
 surfaceLocation (Istream &is)
 Construct from Istream.
triPointRef::proxType & elementType ()
triPointRef::proxType elementType () const
label & triangle ()
label triangle () const
vector normal (const triSurface &s) const
 Normal. Approximate for points.
InfoProxy< surfaceLocation > info () const
 Return info proxy.
void write (Ostream &os, const triSurface &s) const
 Write info to os.

Friends

Istream & operator>> (Istream &is, surfaceLocation &sl)
Ostream & operator<< (Ostream &os, const surfaceLocation &sl)
Ostream & operator<< (Ostream &, const InfoProxy< surfaceLocation > &)

Detailed Description

Contains information about location on a triSurface:.

Source files

Definition at line 57 of file surfaceLocation.H.


Constructor & Destructor Documentation

surfaceLocation (  )  [inline]

Construct null.

Definition at line 73 of file surfaceLocation.H.

surfaceLocation ( const pointIndexHit &  pih,
const triPointRef::proxType  elementType,
const label  triangle 
) [inline]

Construct from components.

Definition at line 82 of file surfaceLocation.H.

surfaceLocation ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 94 of file surfaceLocation.H.


Member Function Documentation

triPointRef::proxType& elementType (  )  [inline]

Definition at line 104 of file surfaceLocation.H.

Referenced by triSurfaceTools::classify(), and surfaceLocation::write().

Here is the caller graph for this function:

triPointRef::proxType elementType (  )  const [inline]

Definition at line 109 of file surfaceLocation.H.

label& triangle (  )  [inline]

Definition at line 114 of file surfaceLocation.H.

label triangle (  )  const [inline]

Definition at line 119 of file surfaceLocation.H.

InfoProxy<surfaceLocation> info (  )  const [inline]

Return info proxy.

Used to print token information to a stream

Definition at line 131 of file surfaceLocation.H.


Friends And Related Function Documentation

Istream& operator>> ( Istream &  is,
surfaceLocation &  sl 
) [friend]

Ostream& operator<< ( Ostream &  os,
const surfaceLocation &  sl 
) [friend]

Ostream& operator<< ( Ostream &  ,
const InfoProxy< surfaceLocation > &   
) [friend]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd