|
|
|
treeDataPoint Class ReferenceHolds (reference to) pointField. Encapsulation of data needed for octree searches. Used for searching for nearest point. No bounding boxes around points. Only overlaps and calcNearest are implemented, rest makes little sense. More...
Collaboration diagram for treeDataPoint:
![]()
Detailed DescriptionHolds (reference to) pointField. Encapsulation of data needed for octree searches. Used for searching for nearest point. No bounding boxes around points. Only overlaps and calcNearest are implemented, rest makes little sense.
Definition at line 52 of file treeDataPoint.H. Constructor & Destructor Documentation
Construct from components. Holds reference to points!
Definition at line 35 of file treeDataPoint.C.
Member Function Documentation
Definition at line 74 of file treeDataPoint.H.
Get type (inside,outside,mixed,unknown) of point w.r.t. surface. Only makes sense for closed surfaces. Definition at line 54 of file treeDataPoint.C.
Calculates nearest (to sample) point in shape. Returns actual point and distance (squared) Definition at line 77 of file treeDataPoint.C.
Calculates nearest (to line) point in shape. Returns point and distance (squared) Definition at line 109 of file treeDataPoint.C. References treeBoundBox::contains(), forAll, Foam::magSqr(), boundBox::max(), Foam::max(), boundBox::min(), Foam::min(), and Foam::sqr().
Here is the call graph for this function:
![]()
Calculate intersection of shape with ray. Sets result. accordingly Definition at line 139 of file treeDataPoint.H. References notImplemented.
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||