Loading...
Searching...
No Matches
treeDataPrimitivePatch< PatchType >::findIntersectOp Class Reference

#include <treeDataPrimitivePatch.H>

Public Member Functions

 findIntersectOp (const indexedOctree< treeDataPrimitivePatch > &tree)
bool operator() (const label index, const point &start, const point &end, point &intersectionPoint) const
 Calculate intersection of any face with ray.

Detailed Description

template<class PatchType>
class Foam::treeDataPrimitivePatch< PatchType >::findIntersectOp

Definition at line 138 of file treeDataPrimitivePatch.H.

Constructor & Destructor Documentation

◆ findIntersectOp()

template<class PatchType>
findIntersectOp ( const indexedOctree< treeDataPrimitivePatch > & tree)

Definition at line 104 of file treeDataPrimitivePatch.C.

References tree(), and treeDataPrimitivePatch< PatchType >::treeDataPrimitivePatch().

Here is the call graph for this function:

Member Function Documentation

◆ operator()()

template<class PatchType>
bool operator() ( const label index,
const point & start,
const point & end,
point & intersectionPoint ) const

Calculate intersection of any face with ray.

Sets result accordingly. Used to find first intersection.

Definition at line 552 of file treeDataPrimitivePatch.C.

References treeDataPrimitivePatch< PatchType >::findIntersection().

Here is the call graph for this function:

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