treeDataCell::findNearestOp Class Reference

Public Member Functions

 findNearestOp (const indexedOctree< treeDataCell > &tree)
 
void operator() (const labelUList &indices, const point &sample, scalar &nearestDistSqr, label &minIndex, point &nearestPoint) const
 
void operator() (const labelUList &indices, const linePointRef &ln, treeBoundBox &tightest, label &minIndex, point &linePoint, point &nearestPoint) const
 

Detailed Description

Definition at line 83 of file treeDataCell.H.

Constructor & Destructor Documentation

◆ findNearestOp()

Definition at line 114 of file treeDataCell.C.

Member Function Documentation

◆ operator()() [1/2]

void operator() ( const labelUList indices,
const point sample,
scalar &  nearestDistSqr,
label minIndex,
point nearestPoint 
) const

Definition at line 181 of file treeDataCell.C.

References primitiveMesh::cellCentres(), treeDataCell::cellLabels(), forAll, Foam::magSqr(), and treeDataCell::mesh().

Here is the call graph for this function:

◆ operator()() [2/2]

void operator() ( const labelUList indices,
const linePointRef ln,
treeBoundBox tightest,
label minIndex,
point linePoint,
point nearestPoint 
) const

Definition at line 209 of file treeDataCell.C.

References NotImplemented.


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