Public Member Functions | |
findNearestOp (const indexedOctree< treeDataPoint > &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 72 of file treeDataPoint.H.
findNearestOp | ( | const indexedOctree< treeDataPoint > & | tree | ) |
Definition at line 71 of file treeDataPoint.C.
void operator() | ( | const labelUList & | indices, |
const point & | sample, | ||
scalar & | nearestDistSqr, | ||
label & | minIndex, | ||
point & | nearestPoint | ||
) | const |
Definition at line 131 of file treeDataPoint.C.
References Foam::magSqr(), and treeDataPoint::shapePoint().
void operator() | ( | const labelUList & | indices, |
const linePointRef & | ln, | ||
treeBoundBox & | tightest, | ||
label & | minIndex, | ||
point & | linePoint, | ||
point & | nearestPoint | ||
) | const |
Definition at line 159 of file treeDataPoint.C.
References PointHit< PointType >::distance(), Foam::ln(), Foam::magSqr(), VectorSpace::max, Foam::max(), VectorSpace::min, Foam::min(), PointHit< PointType >::rawPoint(), treeDataPoint::shapePoint(), Foam::sqr(), Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.