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 |
Private Attributes | |
const indexedOctree< treeDataEdge > & | tree_ |
Definition at line 90 of file treeDataEdge.H.
findNearestOp | ( | const indexedOctree< treeDataEdge > & | tree | ) |
Definition at line 100 of file treeDataEdge.C.
void operator() | ( | const labelUList & | indices, |
const point & | sample, | ||
scalar & | nearestDistSqr, | ||
label & | minIndex, | ||
point & | nearestPoint | ||
) | const |
Definition at line 185 of file treeDataEdge.C.
References PointHit::distance(), Foam::e, treeDataEdge::edgeLabels(), treeDataEdge::edges(), forAll, treeDataEdge::points(), PointHit::rawPoint(), and Foam::sqr().
void operator() | ( | const labelUList & | indices, |
const linePointRef & | ln, | ||
treeBoundBox & | tightest, | ||
label & | minIndex, | ||
point & | linePoint, | ||
point & | nearestPoint | ||
) | const |
Definition at line 217 of file treeDataEdge.C.
References Foam::e, treeDataEdge::edgeLabels(), treeDataEdge::edges(), forAll, Foam::ln(), Foam::magSqr(), Vector< Cmpt >::max, Foam::max(), Vector< Cmpt >::min, Foam::min(), treeDataEdge::points(), Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
private |
Definition at line 92 of file treeDataEdge.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.