![]() |
|
Public Member Functions | |
boundBox () | |
Construct null setting points to zero. | |
boundBox (const point &min, const point &max) | |
Construct from components. | |
boundBox (const pointField &points, const bool doReduce=true) | |
Construct as the bounding box of the given pointField. Does. | |
boundBox (Istream &) | |
Construct from Istream. | |
const point & | min () const |
const point & | max () const |
point & | min () |
point & | max () |
scalar | mag () const |
bool | intersects (const boundBox &bb) const |
Intersects other boundingbox? | |
bool | contains (const point &pt) const |
Contains a point? | |
Friends | |
Ostream & | operator<< (Ostream &os, const boundBox &b) |
|
Construct null setting points to zero.
Definition at line 65 of file boundBox.H. References Foam::max(), Foam::min(), and Foam::point. |
Here is the call graph for this function:
|
Construct from components.
Definition at line 72 of file boundBox.H. References Foam::point, and Foam::pointField. |
|
Construct as the bounding box of the given pointField. Does. parallel communication (doReduce = true) |
|
Construct from Istream.
|
|
Contains a point?
Reimplemented in treeBoundBox. Definition at line 141 of file boundBox.H. |
|
Intersects other boundingbox?
Definition at line 118 of file boundBox.H. |
|
Definition at line 112 of file boundBox.H. References boundBox::max(), Vector::x(), Vector::y(), and Vector::z(). |
Here is the call graph for this function:
|
Definition at line 107 of file boundBox.H. |
|
Definition at line 97 of file boundBox.H. Referenced by boundBox::mag(), and treeBoundBox::treeBoundBox(). |
|
Definition at line 102 of file boundBox.H. |
|
Definition at line 92 of file boundBox.H. Referenced by treeBoundBox::treeBoundBox(). |
|
|