Public Member Functions | |
| findNearestOp (const indexedOctree< treeDataPrimitivePatch > &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 |
| Calculates nearest (to line) point in shape. More... | |
Definition at line 92 of file treeDataPrimitivePatch.H.
| findNearestOp | ( | const indexedOctree< treeDataPrimitivePatch > & | tree | ) |
Definition at line 90 of file treeDataPrimitivePatch.C.
References treeDataPrimitivePatch< PatchType >::findIntersectOp::findIntersectOp().
Referenced by treeDataPrimitivePatch< PatchType >::treeDataPrimitivePatch().


| void operator() | ( | const labelUList & | indices, |
| const point & | sample, | ||
| scalar & | nearestDistSqr, | ||
| label & | minIndex, | ||
| point & | nearestPoint | ||
| ) | const |
Definition at line 496 of file treeDataPrimitivePatch.C.
References PointHit< Point >::distance(), forAll, treeDataPrimitivePatch< PatchType >::patch(), PointHit< Point >::rawPoint(), and Foam::sqr().

| void operator() | ( | const labelUList & | indices, |
| const linePointRef & | ln, | ||
| treeBoundBox & | tightest, | ||
| label & | minIndex, | ||
| point & | linePoint, | ||
| point & | nearestPoint | ||
| ) | const |
Calculates nearest (to line) point in shape.
Returns point and distance (squared)
Definition at line 530 of file treeDataPrimitivePatch.C.
References NotImplemented.
1.8.13