Forward to treeDataEdge findNearest operations. More...
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 |
Forward to treeDataEdge findNearest operations.
Definition at line 102 of file treeDataEdge.H.
findNearestOp | ( | const indexedOctree< treeDataEdge > & | tree | ) |
Definition at line 360 of file treeDataEdge.C.
void operator() | ( | const labelUList & | indices, |
const point & | sample, | ||
scalar & | nearestDistSqr, | ||
label & | minIndex, | ||
point & | nearestPoint | ||
) | const |
Definition at line 402 of file treeDataEdge.C.
void operator() | ( | const labelUList & | indices, |
const linePointRef & | ln, | ||
treeBoundBox & | tightest, | ||
label & | minIndex, | ||
point & | linePoint, | ||
point & | nearestPoint | ||
) | const |
Definition at line 423 of file treeDataEdge.C.
References treeDataEdge::line(), Foam::ln(), line< Point, PointRef >::nearestDist(), and Foam::sqr().