Go to the documentation of this file.
40 #ifndef treeDataPoint_H
41 #define treeDataPoint_H
54 template<
class Type>
class indexedOctree;
87 scalar& nearestDistSqr,
118 point& intersectionPoint
192 const scalar radiusSqr
const labelList & pointLabels() const
const pointField & points() const
findIntersectOp(const indexedOctree< treeDataPoint > &tree)
const pointField & points_
Standard boundBox + extra functionality for use in octree.
treeDataPoint(const pointField &)
Construct from pointField. Holds reference!
Holds (reference to) pointField. Encapsulation of data needed for octree searches....
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const labelList pointLabels_
Subset of points to work on (or empty)
pointField shapePoints() const
Get representative point cloud for all shapes inside.
Non-pointer based hierarchical recursive searching.
ClassName("treeDataPoint")
findNearestOp(const indexedOctree< treeDataPoint > &tree)
const indexedOctree< treeDataPoint > & tree_
volumeType getVolumeType(const indexedOctree< treeDataPoint > &, const point &) const
Get type (inside,outside,mixed,unknown) of point w.r.t. surface.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
bool overlaps(const label index, const treeBoundBox &sampleBb) const
Does (bb of) shape at index overlap bb.
bool ln(const fileName &src, const fileName &dst)
Create a softlink. dst should not exist. Returns true if successful.
void size(const label)
Override size to be inconsistent with allocated storage.