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;
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
label index() const
Return index.
Non-pointer based hierarchical recursive searching.
Encapsulation of data needed to search on PrimitivePatches.
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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
errorManip< error > abort(error &err)