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

Holds data for octree to work on an edges subset. More...

Classes

class  findIntersectOp
 
class  findNearestOp
 

Public Member Functions

 ClassName ("treeDataEdge")
 
 treeDataEdge (const bool cacheBb, const edgeList &edges, const pointField &points, const labelUList &edgeLabels)
 
 treeDataEdge (const bool cacheBb, const edgeList &edges, const pointField &points, labelList &&edgeLabels)
 
const edgeListedges () const
 
const pointFieldpoints () const
 
const labelListedgeLabels () const
 
label size () const
 
pointField shapePoints () const
 
volumeType getVolumeType (const indexedOctree< treeDataEdge > &, const point &) const
 
bool overlaps (const label index, const treeBoundBox &sampleBb) const
 
bool overlaps (const label index, const point &centre, const scalar radiusSqr) const
 

Detailed Description

Holds data for octree to work on an edges subset.

Source files

Definition at line 52 of file treeDataEdge.H.

Constructor & Destructor Documentation

◆ treeDataEdge() [1/2]

treeDataEdge ( const bool  cacheBb,
const edgeList edges,
const pointField points,
const labelUList edgeLabels 
)

Definition at line 61 of file treeDataEdge.C.

References update().

Here is the call graph for this function:

◆ treeDataEdge() [2/2]

treeDataEdge ( const bool  cacheBb,
const edgeList edges,
const pointField points,
labelList &&  edgeLabels 
)

Definition at line 78 of file treeDataEdge.C.

References update().

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "treeDataEdge"  )

◆ edges()

const edgeList& edges ( ) const
inline

Definition at line 169 of file treeDataEdge.H.

Referenced by refinementFeatures::findNearestEdge(), refinementFeatures::findNearestRegionEdge(), and treeDataEdge::findNearestOp::operator()().

Here is the caller graph for this function:

◆ points()

const pointField& points ( ) const
inline

Definition at line 174 of file treeDataEdge.H.

Referenced by refinementFeatures::findNearestEdge(), refinementFeatures::findNearestRegionEdge(), and treeDataEdge::findNearestOp::operator()().

Here is the caller graph for this function:

◆ edgeLabels()

const labelList& edgeLabels ( ) const
inline

Definition at line 179 of file treeDataEdge.H.

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

Here is the caller graph for this function:

◆ size()

label size ( ) const
inline

Definition at line 184 of file treeDataEdge.H.

◆ shapePoints()

Foam::pointField shapePoints ( ) const

Definition at line 112 of file treeDataEdge.C.

References Foam::constant::electromagnetic::e, and forAll.

◆ getVolumeType()

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

Definition at line 127 of file treeDataEdge.C.

References volumeType::UNKNOWN.

◆ overlaps() [1/2]

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

Definition at line 137 of file treeDataEdge.C.

References Foam::constant::electromagnetic::e, stdFoam::end(), and treeBoundBox::intersects().

Here is the call graph for this function:

◆ overlaps() [2/2]

bool overlaps ( const label  index,
const point centre,
const scalar  radiusSqr 
) const

Definition at line 154 of file treeDataEdge.C.

References PointHit< PointType >::distance(), Foam::constant::electromagnetic::e, and Foam::sqr().

Here is the call graph for this function:

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