Forward to treeDataEdge findNearest operations. More...
#include <treeDataEdge.H>
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 359 of file treeDataEdge.C.
References tree().

| void operator() | ( | const labelUList & | indices, |
| const point & | sample, | ||
| scalar & | nearestDistSqr, | ||
| label & | minIndex, | ||
| point & | nearestPoint ) const |
Definition at line 401 of file treeDataEdge.C.
| void operator() | ( | const labelUList & | indices, |
| const linePointRef & | ln, | ||
| treeBoundBox & | tightest, | ||
| label & | minIndex, | ||
| point & | linePoint, | ||
| point & | nearestPoint ) const |
Definition at line 422 of file treeDataEdge.C.
References boundBox::grow(), treeDataEdge::line(), Foam::ln(), line< Point, PointRef >::nearestDist(), Foam::sqr(), and treeDataEdge::treeDataEdge().
