FreeFOAM The Cross-Platform CFD Toolkit
intersection Class Reference

Foam::intersection. More...

#include <OpenFOAM/intersection.H>


Detailed Description

+ Collaboration diagram for intersection:

List of all members.

Public Types

enum  direction { VECTOR, CONTACT_SPHERE }
enum  algorithm { FULL_RAY, HALF_RAY, VISIBLE }

Static Public Member Functions

static scalar planarTol ()
 Return planar tolerance.
static scalar setPlanarTol (const scalar t)
 Set the planar tolerance, returning the previous value.

Static Public Attributes

static const NamedEnum
< direction, 2 > 
directionNames_
 Direction names.
static const NamedEnum
< algorithm, 3 > 
algorithmNames_
 Projection algorithm names.

Member Enumeration Documentation

enum direction
Enumerator:
VECTOR 
CONTACT_SPHERE 

Definition at line 64 of file intersection.H.

enum algorithm
Enumerator:
FULL_RAY 
HALF_RAY 
VISIBLE 

Definition at line 70 of file intersection.H.


Member Function Documentation

static scalar planarTol ( )
inlinestatic

Return planar tolerance.

Definition at line 86 of file intersection.H.

Referenced by triangle< Point, PointRef >::ray(), and surfaceIntersection::surfaceIntersection().

static scalar setPlanarTol ( const scalar  t)
inlinestatic

Set the planar tolerance, returning the previous value.

Definition at line 92 of file intersection.H.

References Foam::abort(), Foam::FatalError, and FatalErrorIn.

Referenced by octreeDataFaceList::intersects(), octreeDataTriSurface::intersects(), treeDataCell::intersects(), octreeDataFace::intersects(), and meshSearch::pointInCell().


Member Data Documentation

const Foam::NamedEnum< Foam::intersection::direction, 2 > directionNames_
static

Direction names.

Definition at line 80 of file intersection.H.

const Foam::NamedEnum< Foam::intersection::algorithm, 3 > algorithmNames_
static

Projection algorithm names.

Definition at line 83 of file intersection.H.

Referenced by slidingInterface::writeDict().


The documentation for this class was generated from the following files: