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. More... | |
Definition at line 149 of file treeDataFace.H.
findIntersectOp | ( | const indexedOctree< treeDataFace > & | tree | ) |
Definition at line 631 of file treeDataFace.C.
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 705 of file treeDataFace.C.
References PointHit< PointType >::distance(), stdFoam::end(), primitiveMesh::faceCentres(), primitiveMesh::faces(), intersection::HALF_RAY, PointHit< PointType >::hit(), treeDataFace::objectIndex(), PointHit< PointType >::point(), primitiveMesh::points(), and treeBoundBox::posBits().