|
Public Member Functions |
| | ClassName ("meshSearch") |
| | meshSearch (const polyMesh &mesh, const bool faceDecomp=true) |
| | Construct from components.
|
| | ~meshSearch () |
| const polyMesh & | mesh () const |
| const octree< octreeDataFace > & | boundaryTree () const |
| | Get (demand driven) reference to octree holding all.
|
| const octree< octreeDataCell > & | cellTree () const |
| | Get (demand driven) reference to octree holding all cells.
|
| const octree< octreeDataPoint > & | cellCentreTree () const |
| | Get (demand driven) reference to octree holding all cell centres.
|
| bool | pointInCell (const point &p, const label celli) const |
| | test for point in cell. Does not handle cells with center
|
| label | findNearestCell (const point &location, const label seedCellI=-1, const bool useTreeSearch=true) const |
| | Find nearest cell in terms of cell centre.
|
| label | findCell (const point &location, const label seedCellI=-1, const bool useTreeSearch=true) const |
| | Find cell containing (using pointInCell) location.
|
| label | findNearestBoundaryFace (const point &location, const label seedFaceI=-1, const bool useTreeSearch=true) const |
| | Find nearest boundary face.
|
| pointIndexHit | intersection (const point &pStart, const point &pEnd) const |
| | Find first intersection of boundary in segment [pStart, pEnd].
|
| List< pointIndexHit > | intersections (const point &pStart, const point &pEnd) const |
| | Find all intersections of boundary within segment pStart .. pEnd.
|
| bool | isInside (const point &) const |
| | Determine inside/outside status.
|
| void | clearOut () |
| | delete all storage
|
| void | correct () |
| | Correct for mesh geom/topo changes.
|
Static Public Attributes |
| scalar | tol_ |
| | tolerance on linear dimensions
|