treeDataFace::findNearestOp Class Reference

Public Member Functions

 findNearestOp (const indexedOctree< treeDataFace > &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 95 of file treeDataFace.H.

Constructor & Destructor Documentation

◆ findNearestOp()

Definition at line 131 of file treeDataFace.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 468 of file treeDataFace.C.

References PointHit< PointType >::distance(), f(), treeDataFace::faceLabels(), primitiveMesh::faces(), treeDataFace::mesh(), primitiveMesh::points(), PointHit< PointType >::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

Definition at line 497 of file treeDataFace.C.

References NotImplemented.


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