|
|
|
octreeDataPoint Class ReferenceEncapsulation of data needed for octree searches. More...
Collaboration diagram for octreeDataPoint:
![]()
Detailed DescriptionEncapsulation 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. Holds (reference to) pointField.
Definition at line 55 of file octreeDataPoint.H. Constructor & Destructor Documentation
Construct from components. Holds reference to points!
Definition at line 29 of file octreeDataPoint.C.
Member Function Documentation
Definition at line 73 of file octreeDataPoint.H.
Definition at line 78 of file octreeDataPoint.H.
Does shape at index contain sample.
Definition at line 59 of file octreeDataPoint.C. References treeBoundBox::contains().
Here is the call graph for this function:
![]()
Segment (from start to end) intersection with shape. at index. If intersects returns true and sets intersectionPoint Definition at line 74 of file octreeDataPoint.C.
Sets newTightest to bounding box (and returns true) if. nearer to sample than tightest bounding box. Otherwise returns false. Definition at line 92 of file octreeDataPoint.C.
Given index get unit normal and calculate (numerical) sign. of sample. Used to determine accuracy of calcNearest or inside/outside. Note: always returns GREAT since no inside/outside. Definition at line 109 of file octreeDataPoint.C.
Calculates nearest (to sample) point on/in shape. Returns point and mag(nearest - sample) Definition at line 123 of file octreeDataPoint.C.
Calculates nearest (to line segment) point in shape. Returns distance and both point. Definition at line 152 of file octreeDataPoint.C. Write shape at index.
Definition at line 135 of file octreeDataPoint.C. References Foam::magSqr().
Here is the call graph for this function:
![]()
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||