FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

surfaceLocation Class Reference

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

#include <meshTools/surfaceLocation.H>


Detailed Description

Contains information about location on a triSurface:

- pointIndexHit:

Source files

Definition at line 62 of file surfaceLocation.H.

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 > &)

Constructor & Destructor Documentation

surfaceLocation (  ) [inline]

Construct null.

Definition at line 78 of file surfaceLocation.H.

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

Construct from components.

Definition at line 87 of file surfaceLocation.H.

surfaceLocation ( Istream &   is  ) [inline]

Construct from Istream.

Definition at line 99 of file surfaceLocation.H.


Member Function Documentation

triPointRef::proxType& elementType (  ) [inline]

Definition at line 109 of file surfaceLocation.H.

Referenced by triSurfaceTools::classify(), and triSurfaceTools::trackToEdge().

triPointRef::proxType elementType (  ) const [inline]

Definition at line 114 of file surfaceLocation.H.

label& triangle (  ) [inline]

Definition at line 119 of file surfaceLocation.H.

Referenced by triSurfaceTools::track(), and triSurfaceTools::trackToEdge().

label triangle (  ) const [inline]

Definition at line 124 of file surfaceLocation.H.

InfoProxy<surfaceLocation> info (  ) const [inline]

Return info proxy.

Used to print token information to a stream

Definition at line 134 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: