Go to the documentation of this file.
42 #ifndef dynamicTreeDataPoint_H
43 #define dynamicTreeDataPoint_H
56 template<
class Type>
class dynamicIndexedOctree;
84 inline label
size()
const
86 return points_.size();
116 const scalar radiusSqr
126 scalar& nearestDistSqr,
void findNearest(const labelUList &indices, const point &sample, scalar &nearestDistSqr, label &nearestIndex, point &nearestPoint) const
Standard boundBox with extra functionality for use in octree.
const DynamicList< point > & shapePoints() const
bool overlaps(const label index, const treeBoundBox &sampleBb) const
Non-pointer based hierarchical recursive searching. Storage is dynamic, so elements can be deleted.
bool intersects(const label index, const point &start, const point &end, point &result) const
Holds (reference to) pointField. Encapsulation of data needed for octree searches....
An enumeration wrapper for classification of a location as being inside/outside of a volume.
ClassName("dynamicTreeDataPoint")
constexpr auto end(C &c) -> decltype(c.end())
volumeType getVolumeType(const dynamicIndexedOctree< dynamicTreeDataPoint > &, const point &) const
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
dynamicTreeDataPoint(const DynamicList< point > &points)
bool ln(const fileName &src, const fileName &dst)
Minimal example by using system/controlDict.functions: