This class describes the interaction of (usually) a face and a point. It carries the info of a successful hit and (if successful), returns the interaction point. More...
Public Types | |
typedef PointType | point_type |
Public Member Functions | |
PointIndexHit () | |
PointIndexHit (const point_type &p) | |
PointIndexHit (const bool success, const point_type &p, const label index) | |
PointIndexHit (Istream &is) | |
bool | hit () const noexcept |
label | index () const noexcept |
const point_type & | point () const noexcept |
point_type & | point () noexcept |
const point_type & | hitPoint () const |
const point_type & | missPoint () const |
const point_type & | rawPoint () const noexcept |
point_type & | rawPoint () noexcept |
void | setHit () noexcept |
void | setMiss () noexcept |
void | setPoint (const point_type &p) |
void | setIndex (const label index) noexcept |
void | hitPoint (const point_type &p, const label index) |
void | write (Ostream &os) |
bool | operator== (const PointIndexHit &rhs) const |
bool | operator!= (const PointIndexHit &rhs) const |
Friends | |
Ostream & | operator<< (Ostream &os, const PointIndexHit &pHit) |
Istream & | operator>> (Istream &is, PointIndexHit &pHit) |
This class describes the interaction of (usually) a face and a point. It carries the info of a successful hit and (if successful), returns the interaction point.
like pointHit but carries face (or cell, edge etc.) index
Definition at line 48 of file PointIndexHit.H.
typedef PointType point_type |
Definition at line 80 of file PointIndexHit.H.
|
inline |
Definition at line 86 of file PointIndexHit.H.
|
inlineexplicit |
Definition at line 94 of file PointIndexHit.H.
|
inline |
Definition at line 103 of file PointIndexHit.H.
|
inlineexplicit |
Definition at line 115 of file PointIndexHit.H.
|
inlinenoexcept |
Definition at line 126 of file PointIndexHit.H.
Referenced by nearWallFields::calcAddressing(), Foam::calcProximityOfFeatureEdges(), Foam::calcProximityOfFeaturePoints(), nearestFaceAMI::calculate(), patchProbes::findElements(), mapNearestMethod::findInitialSeeds(), searchableCone::findLine(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findLine(), triSurfaceSearch::findLineAll(), searchableDisk::findLineAll(), searchableCylinder::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), searchableCone::findLineAll(), searchableSphere::findLineAll(), triSurfaceRegionSearch::findNearest(), distributedTriSurfaceMesh::findNearest(), meshSearch::findNearestBoundaryFace(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementFeatures::findNearestRegionEdge(), boundaryMesh::getNearest(), meshSearch::intersection(), meshSearch::intersections(), edgeIntersections::merge(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestFeatEdge(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), Foam::operator<<(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), triSurfaceTools::track(), and triSurfaceTools::trackToEdge().
|
inlinenoexcept |
Definition at line 132 of file PointIndexHit.H.
Referenced by nearWallFields::calcAddressing(), Foam::calcProximityOfFeatureEdges(), nearestFaceAMI::calculate(), patchProbes::findElements(), mapNearestMethod::findInitialSeeds(), searchableBox::findLine(), triSurfaceSearch::findLineAll(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), distributedTriSurfaceMesh::findNearest(), meshSearch::findNearestBoundaryFace(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementFeatures::findNearestRegionEdge(), searchableExtrudedCircle::findParametricNearest(), boundaryMesh::getNearest(), searchableExtrudedCircle::getNormal(), treeDataFace::getVolumeType(), treeDataPrimitivePatch< PatchType >::getVolumeType(), PointIndexHit::hitPoint(), meshSearch::intersection(), meshSearch::intersections(), edgeIntersections::merge(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestFeatEdge(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), surfaceLocation::normal(), Foam::operator<<(), PointIndexHit::setIndex(), surfaceIntersection::surfaceIntersection(), and triSurfaceTools::trackToEdge().
|
inlinenoexcept |
Definition at line 138 of file PointIndexHit.H.
Referenced by Foam::normalDistance_nonzero(), Foam::normalDistance_zero(), and Foam::operator<<().
|
inlinenoexcept |
Definition at line 144 of file PointIndexHit.H.
|
inline |
Definition at line 150 of file PointIndexHit.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by nearWallFields::calcAddressing(), Foam::calcProximityOfFeatureEdges(), Foam::calcProximityOfFeaturePoints(), patchProbes::findElements(), searchableRotatedBox::findLineAll(), searchableBox::findLineAll(), triSurfaceRegionSearch::findNearest(), distributedTriSurfaceMesh::findNearest(), refinementFeatures::findNearestEdge(), refinementFeatures::findNearestPoint(), refinementFeatures::findNearestRegionEdge(), searchableExtrudedCircle::findParametricNearest(), boundaryMesh::getNearest(), searchableExtrudedCircle::getNormal(), surfaceFeatures::nearestEdges(), surfaceFeatures::nearestSamples(), surfaceFeatures::nearestSurfEdge(), powerLawLopesdaCostaZone::powerLawLopesdaCostaZone(), and surfaceIntersection::surfaceIntersection().
|
inline |
Definition at line 162 of file PointIndexHit.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
inlinenoexcept |
Definition at line 174 of file PointIndexHit.H.
Referenced by searchableRotatedBox::findLine(), searchableBox::findLine(), indexedOctree< Foam::treeDataPrimitivePatch< PatchType > >::findLine(), searchableRotatedBox::findNearest(), searchableBox::findNearestOnEdge(), edgeIntersections::merge(), surfaceFeatures::nearestSurfEdge(), and triSurfaceTools::trackToEdge().
|
inlinenoexcept |
Definition at line 180 of file PointIndexHit.H.
|
inlinenoexcept |
Definition at line 189 of file PointIndexHit.H.
Referenced by triSurfaceTools::classify(), and searchableBox::findLine().
|
inlinenoexcept |
Definition at line 195 of file PointIndexHit.H.
Referenced by triSurfaceTools::classify(), searchableBox::findNearestOnEdge(), and triSurfaceTools::trackToEdge().
|
inline |
Definition at line 201 of file PointIndexHit.H.
References p.
Referenced by triSurfaceTools::classify().
|
inlinenoexcept |
Definition at line 207 of file PointIndexHit.H.
References PointIndexHit::index().
Referenced by triSurfaceTools::classify(), searchableBox::findLine(), searchableBox::findNearestOnEdge(), meshSearch::intersection(), and meshSearch::intersections().
|
inline |
Definition at line 213 of file PointIndexHit.H.
References PointIndexHit::index(), and p.
|
inline |
Definition at line 223 of file PointIndexHit.H.
References os().
|
inline |
Definition at line 233 of file PointIndexHit.H.
|
inline |
Definition at line 244 of file PointIndexHit.H.
|
friend |
Definition at line 252 of file PointIndexHit.H.
|
friend |
Definition at line 274 of file PointIndexHit.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.