|
|
|
octreeDataTriSurface Class ReferenceEncapsulates data for octree searches on triSurface. More...
Collaboration diagram for octreeDataTriSurface:
![]()
Detailed DescriptionEncapsulates data for octree searches on triSurface.
Definition at line 51 of file octreeDataTriSurface.H. Constructor & Destructor Documentation
Construct from triSurface. Holds reference. Bounding box. calculated from triangle points. Definition at line 243 of file octreeDataTriSurface.C.
Construct from triSurface and bounding box. Holds references. Definition at line 275 of file octreeDataTriSurface.C.
Member Function Documentation
Definition at line 126 of file octreeDataTriSurface.H.
Definition at line 131 of file octreeDataTriSurface.H. Referenced by treeLeaf< Type >::findNearest().
Here is the caller graph for this function:
![]()
Definition at line 136 of file octreeDataTriSurface.H.
Does (bb of) shape at index overlap bb.
Exact test of triangle intersecting bb Definition at line 367 of file octreeDataTriSurface.C.
Segment (from start to end) intersection with shape. at index. If intersects returns true and sets intersectionPoint Definition at line 419 of file octreeDataTriSurface.C.
Sets newTightest to bounding box (and returns true) if. nearer to sample than tightest bounding box. Otherwise returns false. Definition at line 463 of file octreeDataTriSurface.C.
Given index get unit normal and calculate (numerical) sign. of sample. Used to determine accuracy of calcNearest or inside/outside. Definition at line 502 of file octreeDataTriSurface.C.
Calculates nearest (to sample) point in shape. Returns point and mag(nearest - sample) Definition at line 523 of file octreeDataTriSurface.C. Referenced by treeLeaf< Type >::findNearest().
Here is the caller graph for this function:
![]()
Calculates nearest (to line segment) point in shape. Returns distance and both point. Definition at line 535 of file octreeDataTriSurface.C. References Foam::mag().
Here is the call graph for this function:
![]()
Definition at line 552 of file octreeDataTriSurface.C.
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||