pointInCell.H File Reference

Function for determining if a point is within a cell of a polyMesh. More...

Include dependency graph for pointInCell.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Enumerations

enum class  pointInCellShapes { facePlanes , faceCentreTris , faceDiagonalTris , tets }
 Enumeration for the sub-shapes used to perform the inside calculation. More...
 

Functions

bool pointInCellFacePlanes (const point &p, const polyMesh &mesh, const label celli)
 Test if a point is in a given cell. For each of the cell's faces, define a. More...
 
bool pointInCellFaceCentreTris (const point &p, const polyMesh &mesh, const label celli)
 Test if a point is in a given cell. For each of the cell's faces,. More...
 
bool pointInCellFaceDiagTris (const point &p, const polyMesh &mesh, const label celli)
 Test if a point is in a given cell. For each of the cell's faces,. More...
 
bool pointInCellTets (const point &p, const polyMesh &mesh, const label celli)
 Test if a point is in a given cell by decomposing the cell into tetrahedra. More...
 
bool pointInCell (const point &p, const polyMesh &mesh, const label celli, const pointInCellShapes=pointInCellShapes::tets)
 Test if a point is in a given cell. More...
 

Detailed Description

Function for determining if a point is within a cell of a polyMesh.

Original source file pointInCell.H

InNamespace Foam

Source files

Definition in file pointInCell.H.