| 
|   | SbBox3d () | 
|   | Empty box constructor.  
  | 
|   | 
|   | SbBox3d (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax) | 
|   | Constructor given bounds.  
  | 
|   | 
|   | SbBox3d (const SbVec3d &min, const SbVec3d &max) | 
|   | Constructor given minimum and maximum points min and max are the corners of the diagonal that define the box.  
  | 
|   | 
|   | ~SbBox3d () | 
|   | Destructor.  
  | 
|   | 
| const SbVec3d &  | getMin () const | 
|   | Returns the minimum point of the box.  
  | 
|   | 
| const SbVec3d &  | getMax () const | 
|   | Returns the maximum point of the box.  
  | 
|   | 
| SbVec3d &  | getMin () | 
|   | Returns the minimum point of the box.  
  | 
|   | 
| SbVec3d &  | getMax () | 
|   | Returns the maximum point of the box.  
  | 
|   | 
| SbVec3d  | getCenter () const | 
|   | Returns the center of the box.  
  | 
|   | 
| void  | extendBy (const SbVec3d &pt) | 
|   | Extends Box3d (if necessary) to contain given 3D point.  
  | 
|   | 
| void  | extendBy (const SbBox3d &bb) | 
|   | Extends Box3d (if necessary) to contain given Box3d.  
  | 
|   | 
| bool  | intersect (const SbVec3d &pt) const | 
|   | Returns TRUE if intersection of given point and Box3d is not empty.  
  | 
|   | 
| bool  | intersect (const SbBox3d &bb) const | 
|   | Returns TRUE if intersection of given Box3d and Box3d is not empty.  
  | 
|   | 
| bool  | outside (const SbMatrixd &MVP, int &cullBits) const | 
|   | Returns TRUE if bounding box is completely outside the view-volume defined by the model+view+projection matrix given.  
  | 
|   | 
| void  | setBounds (double xmin, double ymin, double zmin, double xmax, double ymax, double zmax) | 
|   | Common get and set functions.  
  | 
|   | 
| void  | setBounds (const SbVec3d &_min, const SbVec3d &_max) | 
|   | 
| void  | getBounds (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) const | 
|   | 
| void  | getBounds (SbVec3d &_min, SbVec3d &_max) const | 
|   | 
| SbVec3d  | getClosestPoint (const SbVec3d &point) | 
|   | Returns the closest point on the box to the given point.  
  | 
|   | 
| void  | getOrigin (double &originX, double &originY, double &originZ) const | 
|   | Gets box origin which is the same as the minimum corner of the box.  
  | 
|   | 
| void  | getSize (double &sizeX, double &sizeY, double &sizeZ) const | 
|   | Gets box size.  
  | 
|   | 
| void  | makeEmpty () | 
|   | Makes an empty box.  
  | 
|   | 
| bool  | isEmpty () const | 
|   | Returns TRUE if the box is empty, and FALSE otherwise.  
  | 
|   | 
| bool  | hasVolume () const | 
|   | Returns TRUE if all three dimensions of the box have positive size, and FALSE otherwise.  
  | 
|   | 
| void  | getSpan (const SbVec3d &direction, double &dMin, double &dMax) const | 
|   | Finds the span of a box along a specified direction.  
  | 
|   | 
| void  | transform (const SbMatrixd &m) | 
|   | Transforms box by matrix, enlarging box to contain result.  
  | 
|   | 
| double  | getVolume () const | 
|   | Returns the volume of the box.  
  | 
|   | 
3D box which has planes parallel to the major axes and is specified by two points on a diagonal. This class is part of the standard Inventor datatype classes and is used as input and output to geometry operations (see SoGetBoundingBoxAction).
- See Also
 
- SbXfBox3f, SbBox2f, SbBox2s, SbVec3f, SbVec2f, SbVec2s, SbMatrix, SoGetBoundingBoxAction, SbBox3f, SbXfBox3d, SbBox2d, SbVec3d, SbVec2d, SbMatrixd 
 
Definition at line 82 of file SbBoxd.h.