findUniqueIntersectOp Class Reference
Inheritance diagram for findUniqueIntersectOp:
[legend]
Collaboration diagram for findUniqueIntersectOp:
[legend]

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

Public Attributes

const indexedOctree< treeDataFace > & tree_
 
const List< pointIndexHit > & hits_
 

Detailed Description

Definition at line 46 of file meshSearch.C.

Constructor & Destructor Documentation

◆ findUniqueIntersectOp()

findUniqueIntersectOp ( const indexedOctree< treeDataFace > &  tree,
const List< pointIndexHit > &  hits 
)
inline

Construct from components.

Definition at line 60 of file meshSearch.C.

Member Function Documentation

◆ operator()()

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

Calculate intersection of triangle with ray. Sets result.

accordingly

Definition at line 73 of file meshSearch.C.

References stdFoam::end(), forAll, findUniqueIntersectOp::hits_, mesh, and findUniqueIntersectOp::tree_.

Here is the call graph for this function:

Member Data Documentation

◆ tree_

const indexedOctree<treeDataFace>& tree_

Definition at line 52 of file meshSearch.C.

Referenced by findUniqueIntersectOp::operator()().

◆ hits_

const List<pointIndexHit>& hits_

Definition at line 54 of file meshSearch.C.

Referenced by findUniqueIntersectOp::operator()().


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