Forward to treeDataPoint findNearest operations. More...
#include <treeDataPoint.H>
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 |
Forward to treeDataPoint findNearest operations.
Definition at line 83 of file treeDataPoint.H.
| findNearestOp | ( | const indexedOctree< treeDataPoint > & | tree | ) |
Definition at line 130 of file treeDataPoint.C.
References tree().

| void operator() | ( | const labelUList & | indices, |
| const point & | sample, | ||
| scalar & | nearestDistSqr, | ||
| label & | minIndex, | ||
| point & | nearestPoint ) const |
Definition at line 172 of file treeDataPoint.C.
| void operator() | ( | const labelUList & | indices, |
| const linePointRef & | ln, | ||
| treeBoundBox & | tightest, | ||
| label & | minIndex, | ||
| point & | linePoint, | ||
| point & | nearestPoint ) const |
Definition at line 193 of file treeDataPoint.C.
References treeDataPoint::centre(), PointHit< PointType >::distance(), boundBox::grow(), Foam::ln(), PointHit< PointType >::point(), Foam::sqr(), and treeDataPoint::treeDataPoint().
