|
|
|
treeBoundBox Class ReferenceInheritance diagram for treeBoundBox:![]() ![]() Detailed Description
Definition at line 63 of file treeBoundBox.H.
Constructor & Destructor Documentation
Construct from components.
Definition at line 64 of file treeBoundBoxI.H. References boundBox::max(), boundBox::min(), Vector::x(), Vector::y(), and Vector::z(). Here is the call graph for this function: ![]()
Construct as the bounding box of the given pointField. Local. processor domain only (no reduce as in boundBox)
Construct from Istream.
Member Function Documentation
Smallest of length,height,width.
Largest of length,height,width.
Average of length,height,width.
Typical dimension length,height,width.
vertex coordinates
Calculates midpoint.
Sub box given by octant number. Midpoint calculated.
Sub box given by octant number. Midpoint provided.
Returns octant number given point. Midpoint calculated.
Definition at line 73 of file treeBoundBoxI.H. References treeBoundBox::RIGHTHALF. Returns octant number given point. Midpoint provided.
Definition at line 103 of file treeBoundBoxI.H. References treeBoundBox::RIGHTHALF. Returns octant number given point. Midpoint calculated. onEdge set if sample on edge of subOctant Definition at line 131 of file treeBoundBoxI.H. References treeBoundBox::RIGHTHALF. Returns octant number given point. Midpoint provided. onEdge set if sample on edge of subOctant Definition at line 173 of file treeBoundBoxI.H. References treeBoundBox::RIGHTHALF.
Returns octant number given intersection. Midpoint provided. onEdge set if sample on edge of subOctant. If onEdge the direction vector determines which octant to use (acc. to which octant the sample would be if it were moved along dir) Definition at line 218 of file treeBoundBoxI.H. References treeBoundBox::RIGHTHALF.
Intersects segment; set point to intersection position,. return true if intersection found. (intPt argument used during calculation even if not intersecting)
fully contains bb
Contains point? (inside or on edge).
Reimplemented from boundBox. Definition at line 283 of file treeBoundBoxI.H.
Contains point? (only inside).
Contains point inside or. on edge and moving in direction dir would cause it to go inside. Calculate nearest and furthest (to sample) vertex coords of. bounding box
Returns distance sample to furthest away corner.
Compare distance to point with other bounding box. return: -1 : all vertices of my bounding box are nearer than any of other +1 : all vertices of my bounding box are further away than any of other 0 : none of the above.
Return slightly wider bounding box. Extends all dimensions with s*span*Randomscalar01() Definition at line 298 of file treeBoundBoxI.H.
Friends And Related Function Documentation
Member Data Documentation
Definition at line 72 of file treeBoundBox.H.
Definition at line 76 of file treeBoundBox.H.
Definition at line 77 of file treeBoundBox.H.
Definition at line 80 of file treeBoundBox.H.
Definition at line 81 of file treeBoundBox.H.
Definition at line 82 of file treeBoundBox.H.
Definition at line 83 of file treeBoundBox.H.
Definition at line 84 of file treeBoundBox.H.
Definition at line 85 of file treeBoundBox.H.
Definition at line 86 of file treeBoundBox.H.
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||