36 #ifndef treeDataCell_H
37 #define treeDataCell_H
49 template<
class Type>
class indexedOctree;
97 scalar& nearestDistSqr,
128 point& intersectionPoint
187 return cellLabels_.
size();
void size(const label)
Override size to be inconsistent with allocated storage.
Non-pointer based hierarchical recursive searching.
Mesh consisting of general polyhedral cells.
cellDecomposition
Enumeration defining the decomposition of the cell for.
Standard boundBox + extra functionality for use in octree.
findIntersectOp(const indexedOctree< treeDataCell > &tree)
findNearestOp(const indexedOctree< treeDataCell > &tree)
Encapsulation of data needed to search in/for cells. Used to find the cell containing a point (e....
bool overlaps(const label index, const treeBoundBox &sampleBb) const
Does (bb of) shape at index overlap bb.
ClassName("treeDataCell")
polyMesh::cellDecomposition decompMode() const
treeDataCell(const bool cacheBb, const polyMesh &, const labelUList &, const polyMesh::cellDecomposition decompMode)
Construct from mesh and subset of cells.
bool contains(const label index, const point &sample) const
Does shape at index contain sample.
volumeType getVolumeType(const indexedOctree< treeDataCell > &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
const labelList & cellLabels() const
const polyMesh & mesh() const
pointField shapePoints() const
Get representative point cloud for all shapes inside.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool ln(const fileName &src, const fileName &dst)
Create a softlink. dst should not exist. Returns true if successful.