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

Public Member Functions

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

Detailed Description

Definition at line 90 of file treeDataEdge.H.

Constructor & Destructor Documentation

◆ findNearestOp()

Definition at line 100 of file treeDataEdge.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 185 of file treeDataEdge.C.

References PointHit::distance(), Foam::e, treeDataEdge::edgeLabels(), treeDataEdge::edges(), forAll, treeDataEdge::points(), PointHit::rawPoint(), and Foam::sqr().

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<treeDataEdge>& tree_
private

Definition at line 92 of file treeDataEdge.H.


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