Public Member Functions | |
findNearestOp (const indexedOctree< treeDataEdge > &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 90 of file treeDataEdge.H.
findNearestOp | ( | const indexedOctree< treeDataEdge > & | tree | ) |
Definition at line 99 of file treeDataEdge.C.
void operator() | ( | const labelUList & | indices, |
const point & | sample, | ||
scalar & | nearestDistSqr, | ||
label & | minIndex, | ||
point & | nearestPoint | ||
) | const |
Definition at line 180 of file treeDataEdge.C.
References PointHit< Point >::distance(), Foam::e, treeDataEdge::edgeLabels(), treeDataEdge::edges(), forAll, treeDataEdge::points(), PointHit< Point >::rawPoint(), and Foam::sqr().
void operator() | ( | const labelUList & | indices, |
const linePointRef & | ln, | ||
treeBoundBox & | tightest, | ||
label & | minIndex, | ||
point & | linePoint, | ||
point & | nearestPoint | ||
) | const |
Definition at line 212 of file treeDataEdge.C.
References Foam::e, treeDataEdge::edgeLabels(), treeDataEdge::edges(), forAll, Foam::ln(), Foam::magSqr(), Foam::max(), VectorSpace< Form, Cmpt, Ncmpts >::max, Foam::min(), VectorSpace< Form, Cmpt, Ncmpts >::min, treeDataEdge::points(), Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().