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 61 of file treeDataPoint.C.
References treeDataPoint::findIntersectOp::findIntersectOp().
Referenced by treeDataPoint::treeDataPoint().
void operator() | ( | const labelUList & | indices, |
const point & | sample, | ||
scalar & | nearestDistSqr, | ||
label & | minIndex, | ||
point & | nearestPoint | ||
) | const |
Definition at line 131 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 167 of file treeDataPoint.C.
References PointHit< Point >::distance(), forAll, Foam::magSqr(), VectorSpace< Form, Cmpt, Ncmpts >::max, Foam::max(), VectorSpace< Form, Cmpt, Ncmpts >::min, Foam::min(), treeDataPoint::pointLabels(), treeDataPoint::points(), PointHit< Point >::rawPoint(), Foam::sqr(), treeDataPoint::useSubset(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().