Public Member Functions | Private Attributes
treeDataPoint::findNearestOp Class Reference
Collaboration diagram for treeDataPoint::findNearestOp:
Collaboration graph
[legend]

Public Member Functions

 findNearestOp (const indexedOctree< treeDataPoint > &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
 

Private Attributes

const indexedOctree< treeDataPoint > & tree_
 

Detailed Description

Definition at line 73 of file treeDataPoint.H.

Constructor & Destructor Documentation

◆ findNearestOp()

Definition at line 61 of file treeDataPoint.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 135 of file treeDataPoint.C.

References forAll, Foam::magSqr(), treeDataPoint::pointLabels(), treeDataPoint::points(), and treeDataPoint::useSubset().

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

Field Documentation

◆ tree_

const indexedOctree<treeDataPoint>& tree_
private

Definition at line 75 of file treeDataPoint.H.


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