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

orientedSurface Class Reference

Given point flip all faces such that normals point in same direction. More...

Inheritance diagram for orientedSurface:
Collaboration diagram for orientedSurface:

List of all members.


Public Member Functions

 ClassName ("orientedSurface")
 orientedSurface ()
 Construct null.
 orientedSurface (const triSurface &, const point &samplePoint, const bool orientOutside=true)
 Construct from triSurface and sample point which is either.
 orientedSurface (const triSurface &, const bool orientOutside=true)
 Construct from triSurface. Calculates outside point as being.

Static Public Member Functions

static bool orient (triSurface &, const point &, const bool orientOutside)
 Flip faces such that normals are consistent with point:.

Detailed Description

Given point flip all faces such that normals point in same direction.

Source files

Definition at line 47 of file orientedSurface.H.


Constructor & Destructor Documentation

orientedSurface (  ) 

Construct null.

Definition at line 315 of file orientedSurface.C.

orientedSurface ( const triSurface surf,
const point samplePoint,
const bool  orientOutside = true 
)

Construct from triSurface and sample point which is either.

outside (orientOutside = true) or inside (orientOutside = false). Uses linear search to find nearest.

Definition at line 323 of file orientedSurface.C.

orientedSurface ( const triSurface surf,
const bool  orientOutside = true 
)

Construct from triSurface. Calculates outside point as being.

outside the bounding box of the surface.

Definition at line 337 of file orientedSurface.C.


Member Function Documentation

ClassName ( "orientedSurface"   ) 

bool orient ( triSurface s,
const point samplePoint,
const bool  orientOutside 
) [static]

Flip faces such that normals are consistent with point:.

orientOutside=true : point outside surface orientOutside=false : point inside surface

Definition at line 356 of file orientedSurface.C.


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