Go to the documentation of this file.
44 if (info.
index() == -1)
47 <<
"Could not find " <<
sample <<
" in octree."
52 const label facei = info.
index();
61 if (t == triSurfaceTools::UNKNOWN)
63 return volumeType::UNKNOWN;
65 else if (t == triSurfaceTools::INSIDE)
67 return volumeType::INSIDE;
69 else if (t == triSurfaceTools::OUTSIDE)
71 return volumeType::OUTSIDE;
77 return volumeType::UNKNOWN;
volumeType getVolumeType(const indexedOctree< treeDataPrimitivePatch< PatchType >> &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
An enumeration wrapper for classification of a location as being inside/outside of a volume.
Non-pointer based hierarchical recursive searching.
errorManip< error > abort(error &err)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Encapsulation of data needed to search on PrimitivePatches.
label index() const noexcept
Return the hit index.
Minimal example by using system/controlDict.functions: