Classes | Public Member Functions | List of all members
treeDataFace Class Reference

Encapsulation of data needed to search for faces. More...

Classes

class  findIntersectOp
 
class  findNearestOp
 

Public Member Functions

 ClassName ("treeDataFace")
 
 treeDataFace (const bool cacheBb, const primitiveMesh &mesh, const labelUList &faceLabels)
 
 treeDataFace (const bool cacheBb, const primitiveMesh &mesh, labelList &&faceLabels)
 
 treeDataFace (const bool cacheBb, const primitiveMesh &mesh)
 
 treeDataFace (const bool cacheBb, const polyPatch &patch)
 
const labelListfaceLabels () const
 
const primitiveMeshmesh () const
 
label size () const
 
pointField shapePoints () const
 
volumeType getVolumeType (const indexedOctree< treeDataFace > &, const point &) const
 
bool overlaps (const label index, const treeBoundBox &sampleBb) const
 

Detailed Description

Encapsulation of data needed to search for faces.

Source files

Definition at line 55 of file treeDataFace.H.

Constructor & Destructor Documentation

◆ treeDataFace() [1/4]

treeDataFace ( const bool  cacheBb,
const primitiveMesh mesh,
const labelUList faceLabels 
)

Definition at line 63 of file treeDataFace.C.

References update().

Here is the call graph for this function:

◆ treeDataFace() [2/4]

treeDataFace ( const bool  cacheBb,
const primitiveMesh mesh,
labelList &&  faceLabels 
)

Definition at line 79 of file treeDataFace.C.

References update().

Here is the call graph for this function:

◆ treeDataFace() [3/4]

treeDataFace ( const bool  cacheBb,
const primitiveMesh mesh 
)

Definition at line 95 of file treeDataFace.C.

References update().

Here is the call graph for this function:

◆ treeDataFace() [4/4]

treeDataFace ( const bool  cacheBb,
const polyPatch patch 
)

Definition at line 110 of file treeDataFace.C.

References update().

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "treeDataFace"  )

◆ faceLabels()

const labelList& faceLabels ( ) const
inline

Definition at line 175 of file treeDataFace.H.

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

Here is the caller graph for this function:

◆ mesh()

const primitiveMesh& mesh ( ) const
inline

Definition at line 180 of file treeDataFace.H.

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

Here is the caller graph for this function:

◆ size()

label size ( ) const
inline

Definition at line 185 of file treeDataFace.H.

◆ shapePoints()

Foam::pointField shapePoints ( ) const

Definition at line 144 of file treeDataFace.C.

References forAll.

◆ getVolumeType()

Foam::volumeType getVolumeType ( const indexedOctree< treeDataFace > &  oc,
const point sample 
) const

◆ overlaps()

bool overlaps ( const label  index,
const treeBoundBox sampleBb 
) const

Definition at line 404 of file treeDataFace.C.

References boundBox::containsAny(), f(), forAll, triangleFuncs::intersectBb(), treeBoundBox::overlaps(), and points.

Here is the call graph for this function:

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