Public Member Functions | |
findUniqueIntersectOp (const indexedOctree< treeDataFace > &tree, const List< pointIndexHit > &hits) | |
Construct from components. More... | |
bool | operator() (const label index, const point &start, const point &end, point &intersectionPoint) const |
Calculate intersection of triangle with ray. Sets result. More... | |
Public Member Functions inherited from treeDataFace::findIntersectOp | |
findIntersectOp (const indexedOctree< treeDataFace > &tree) | |
bool | operator() (const label index, const point &start, const point &end, point &intersectionPoint) const |
Calculate intersection of triangle with ray. Sets result. More... | |
Public Attributes | |
const indexedOctree< treeDataFace > & | tree_ |
const List< pointIndexHit > & | hits_ |
Definition at line 44 of file meshSearch.C.
|
inline |
Construct from components.
Definition at line 58 of file meshSearch.C.
|
inline |
Calculate intersection of triangle with ray. Sets result.
accordingly
Definition at line 71 of file meshSearch.C.
References indexedOctree< Type >::bb(), Foam::distance(), PointHit< Point >::distance(), Foam::exit(), f(), primitiveMesh::faceAreas(), primitiveMesh::faces(), Foam::FatalError, FatalErrorInFunction, forAll, PointIndexHit< Point >::hit(), PointIndexHit< Point >::index(), Foam::magSqr(), mesh, meshSearch::meshSearch(), Foam::minDist(), n, face::nearestPoint(), points, indexedOctree< Type >::shapes(), and Foam::sqr().
const indexedOctree<treeDataFace>& tree_ |
Definition at line 50 of file meshSearch.C.
const List<pointIndexHit>& hits_ |
Definition at line 52 of file meshSearch.C.