35 #ifndef treeDataFace_H
36 #define treeDataFace_H
109 scalar& nearestDistSqr,
142 point& intersectionPoint
192 return faceLabels_.
size();
void size(const label)
Override size to be inconsistent with allocated storage.
Non-pointer based hierarchical recursive searching.
A patch is a list of labels that address the faces in the global face list.
Cell-face mesh analysis engine.
Standard boundBox + extra functionality for use in octree.
findIntersectOp(const indexedOctree< treeDataFace > &tree)
findNearestOp(const indexedOctree< treeDataFace > &tree)
Encapsulation of data needed to search for faces.
bool overlaps(const label index, const treeBoundBox &sampleBb) const
Does (bb of) shape at index overlap bb.
treeDataFace(const bool cacheBb, const primitiveMesh &, const labelUList &)
Construct from mesh and subset of faces.
const labelList & faceLabels() const
const primitiveMesh & mesh() const
ClassName("treeDataFace")
volumeType getVolumeType(const indexedOctree< treeDataFace > &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
pointField shapePoints() const
Get representative point cloud for all shapes inside.
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.