Public Member Functions | |
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... | |
Definition at line 126 of file treeDataFace.H.
findIntersectOp | ( | const indexedOctree< treeDataFace > & | tree | ) |
Definition at line 158 of file treeDataFace.C.
Referenced by treeDataFace::findNearestOp::findNearestOp().
bool operator() | ( | const label | index, |
const point & | start, | ||
const point & | end, | ||
point & | intersectionPoint | ||
) | const |
Calculate intersection of triangle with ray. Sets result.
accordingly
Definition at line 540 of file treeDataFace.C.
References PointHit< Point >::distance(), primitiveMesh::faceCentres(), primitiveMesh::faces(), intersection::halfRay, PointHit< Point >::hit(), PointHit< Point >::hitPoint(), primitiveMesh::points(), and treeBoundBox::posBits().