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... | |
Private Attributes | |
const indexedOctree< treeDataFace > & | tree_ |
Definition at line 126 of file treeDataFace.H.
findIntersectOp | ( | const indexedOctree< treeDataFace > & | tree | ) |
Definition at line 158 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 542 of file treeDataFace.C.
References treeDataFace::bbs_, treeDataFace::cacheBb_, PointHit::distance(), primitiveMesh::faceCentres(), treeDataFace::faceLabels_, primitiveMesh::faces(), intersection::HALF_RAY, PointHit::hit(), PointHit::hitPoint(), treeDataFace::mesh_, primitiveMesh::points(), and treeBoundBox::posBits().
|
private |
Definition at line 128 of file treeDataFace.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.