Public Member Functions | List of all members
treeDataFace::findIntersectOp Class Reference

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...

Detailed Description

Definition at line 126 of file treeDataFace.H.

Constructor & Destructor Documentation

◆ findIntersectOp()

Definition at line 158 of file treeDataFace.C.

Referenced by treeDataFace::findNearestOp::findNearestOp().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

bool operator() ( const label  index,
const point start,
const point end,
point intersectionPoint 
) const

Calculate intersection of triangle with ray. Sets result.


Definition at line 540 of file treeDataFace.C.

References PointHit< Point >::distance(), primitiveMesh::faceCentres(), primitiveMesh::faces(), intersection::HALF_RAY, PointHit< Point >::hit(), PointHit< Point >::hitPoint(), primitiveMesh::points(), and treeBoundBox::posBits().

Here is the call graph for this function:

The documentation for this class was generated from the following files: