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