41 if (info.
index() == -1)
45 "treeDataPrimitivePatch::getSampleType" 46 "(indexedOctree<treeDataPrimitivePatch>&, const point&)" 47 ) <<
"Could not find " << sample <<
" in octree." 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;
75 FatalErrorIn(
"treeDataPrimitivePatch<PatchType>::getVolumeType(..)")
77 return volumeType::UNKNOWN;
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
label index() const
Return index.
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.
errorManip< error > abort(error &err)
sideType
On which side of surface.
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Non-pointer based hierarchical recursive searching.
dimensionedSymmTensor sqr(const dimensionedVector &dv)