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 |
Definition at line 73 of file treeDataPoint.H.
| findNearestOp | ( | const indexedOctree< treeDataPoint > & | tree | ) |
Definition at line 60 of file treeDataPoint.C.
| void operator() | ( | const labelUList & | indices, |
| const point & | sample, | ||
| scalar & | nearestDistSqr, | ||
| label & | minIndex, | ||
| point & | nearestPoint | ||
| ) | const |
Definition at line 130 of file treeDataPoint.C.
References forAll, Foam::magSqr(), treeDataPoint::pointLabels(), treeDataPoint::points(), and treeDataPoint::useSubset().

| void operator() | ( | const labelUList & | indices, |
| const linePointRef & | ln, | ||
| treeBoundBox & | tightest, | ||
| label & | minIndex, | ||
| point & | linePoint, | ||
| point & | nearestPoint | ||
| ) | const |
Definition at line 166 of file treeDataPoint.C.
References PointHit< Point >::distance(), forAll, Foam::ln(), Foam::magSqr(), Foam::max(), VectorSpace< Form, Cmpt, Ncmpts >::max, Foam::min(), VectorSpace< Form, Cmpt, Ncmpts >::min, treeDataPoint::pointLabels(), treeDataPoint::points(), PointHit< Point >::rawPoint(), Foam::sqr(), treeDataPoint::useSubset(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
