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 labelList & | faceLabels () const |
const primitiveMesh & | mesh () const |
label | size () const |
pointField | shapePoints () const |
volumeType | getVolumeType (const indexedOctree< treeDataFace > &, const point &) const |
bool | overlaps (const label index, const treeBoundBox &sampleBb) const |
Encapsulation of data needed to search for faces.
Definition at line 55 of file treeDataFace.H.
treeDataFace | ( | const bool | cacheBb, |
const primitiveMesh & | mesh, | ||
const labelUList & | faceLabels | ||
) |
Definition at line 63 of file treeDataFace.C.
References update().
treeDataFace | ( | const bool | cacheBb, |
const primitiveMesh & | mesh, | ||
labelList && | faceLabels | ||
) |
Definition at line 79 of file treeDataFace.C.
References update().
treeDataFace | ( | const bool | cacheBb, |
const primitiveMesh & | mesh | ||
) |
Definition at line 95 of file treeDataFace.C.
References update().
treeDataFace | ( | const bool | cacheBb, |
const polyPatch & | patch | ||
) |
Definition at line 110 of file treeDataFace.C.
References update().
ClassName | ( | "treeDataFace" | ) |
|
inline |
Definition at line 175 of file treeDataFace.H.
Referenced by treeDataFace::findNearestOp::operator()().
|
inline |
Definition at line 180 of file treeDataFace.H.
Referenced by treeDataFace::findNearestOp::operator()().
|
inline |
Definition at line 185 of file treeDataFace.H.
Foam::pointField shapePoints | ( | ) | const |
Definition at line 144 of file treeDataFace.C.
References forAll.
Foam::volumeType getVolumeType | ( | const indexedOctree< treeDataFace > & | oc, |
const point & | sample | ||
) | const |
Definition at line 158 of file treeDataFace.C.
References Foam::abort(), Foam::fieldTypes::area, Foam::expressions::patchExpr::debug, Foam::constant::electromagnetic::e, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, forAll, indexedOctree::getSide(), PointHit< PointType >::hit(), PointIndexHit::index(), Foam::mag(), Foam::magSqr(), line::nearestDist(), Foam::normalised(), pFaces, points, Foam::Pout, PointHit< PointType >::rawPoint(), Foam::sqr(), volumeType::UNKNOWN, and Foam::Zero.
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.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.