41 if (info.
index() == -1)
44 <<
"Could not find " << sample <<
" in octree." 58 if (t == triSurfaceTools::UNKNOWN)
60 return volumeType::unknown;
62 else if (t == triSurfaceTools::INSIDE)
64 return volumeType::inside;
66 else if (t == triSurfaceTools::OUTSIDE)
68 return volumeType::outside;
74 return volumeType::unknown;
volumeType getVolumeType(const indexedOctree< treeDataPrimitivePatch< PatchType >> &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Encapsulation of data needed to search on PrimitivePatches.
errorManip< error > abort(error &err)
Non-pointer based hierarchical recursive searching.
label index() const
Return index.