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 76 of file treeDataPoint.H.
| findNearestOp | ( | const indexedOctree< treeDataPoint > & | tree | ) |
Definition at line 78 of file treeDataPoint.C.
| void operator() | ( | const labelUList & | indices, |
| const point & | sample, | ||
| scalar & | nearestDistSqr, | ||
| label & | minIndex, | ||
| point & | nearestPoint | ||
| ) | const |
Definition at line 138 of file treeDataPoint.C.
References Foam::magSqr(), and treeDataPoint::shapePoint().
| 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(), Foam::ln(), Foam::magSqr(), VectorSpace< Form, Cmpt, Ncmpts >::max, Foam::max(), VectorSpace< Form, Cmpt, Ncmpts >::min, Foam::min(), PointHit< Point >::rawPoint(), treeDataPoint::shapePoint(), Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().