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 edgeList & | edges () const |
const pointField & | points () const |
const labelList & | edgeLabels () 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 ¢re, const scalar radiusSqr) const |
Holds data for octree to work on an edges subset.
Definition at line 52 of file treeDataEdge.H.
treeDataEdge | ( | const bool | cacheBb, |
const edgeList & | edges, | ||
const pointField & | points, | ||
const labelUList & | edgeLabels | ||
) |
Definition at line 61 of file treeDataEdge.C.
References update().
treeDataEdge | ( | const bool | cacheBb, |
const edgeList & | edges, | ||
const pointField & | points, | ||
labelList && | edgeLabels | ||
) |
Definition at line 78 of file treeDataEdge.C.
References update().
ClassName | ( | "treeDataEdge" | ) |
|
inline |
Definition at line 169 of file treeDataEdge.H.
Referenced by refinementFeatures::findNearestEdge(), refinementFeatures::findNearestRegionEdge(), and treeDataEdge::findNearestOp::operator()().
|
inline |
Definition at line 174 of file treeDataEdge.H.
Referenced by refinementFeatures::findNearestEdge(), refinementFeatures::findNearestRegionEdge(), and treeDataEdge::findNearestOp::operator()().
|
inline |
Definition at line 179 of file treeDataEdge.H.
Referenced by treeDataEdge::findNearestOp::operator()().
|
inline |
Definition at line 184 of file treeDataEdge.H.
Foam::pointField shapePoints | ( | ) | const |
Definition at line 112 of file treeDataEdge.C.
References Foam::constant::electromagnetic::e, and forAll.
Foam::volumeType getVolumeType | ( | const indexedOctree< treeDataEdge > & | oc, |
const point & | sample | ||
) | const |
Definition at line 127 of file treeDataEdge.C.
References volumeType::UNKNOWN.
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().
Definition at line 154 of file treeDataEdge.C.
References PointHit< PointType >::distance(), Foam::constant::electromagnetic::e, and Foam::sqr().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.