Blender V2.61 - r43446
|
#include <BOP_BBox.h>
Public Member Functions | |
BOP_BBox () | |
BOP_BBox (const MT_Point3 &p1, const MT_Point3 &p2, const MT_Point3 &p3) | |
void | add (const MT_Point3 &p) |
const MT_Scalar | getCenterX () const |
const MT_Scalar | getCenterY () const |
const MT_Scalar | getCenterZ () const |
const MT_Scalar | getExtentX () const |
const MT_Scalar | getExtentY () const |
const MT_Scalar | getExtentZ () const |
void | compute () |
const bool | intersect (const BOP_BBox &b) const |
Public Attributes | |
MT_Scalar | m_minX |
MT_Scalar | m_minY |
MT_Scalar | m_minZ |
MT_Scalar | m_maxX |
MT_Scalar | m_maxY |
MT_Scalar | m_maxZ |
MT_Scalar | m_centerX |
MT_Scalar | m_centerY |
MT_Scalar | m_centerZ |
MT_Scalar | m_extentX |
MT_Scalar | m_extentY |
MT_Scalar | m_extentZ |
Definition at line 43 of file BOP_BBox.h.
BOP_BBox::BOP_BBox | ( | ) |
Constructs a nwe bounding box.
Definition at line 40 of file BOP_BBox.cpp.
References m_maxX, m_maxY, m_maxZ, m_minX, m_minY, m_minZ, and MT_INFINITY().
void BOP_BBox::add | ( | const MT_Point3 & | p | ) | [inline] |
void BOP_BBox::compute | ( | ) | [inline] |
const MT_Scalar BOP_BBox::getCenterX | ( | ) | const [inline] |
Definition at line 72 of file BOP_BBox.h.
References m_centerX.
const MT_Scalar BOP_BBox::getCenterY | ( | ) | const [inline] |
Definition at line 73 of file BOP_BBox.h.
References m_centerY.
const MT_Scalar BOP_BBox::getCenterZ | ( | ) | const [inline] |
Definition at line 74 of file BOP_BBox.h.
References m_centerZ.
const MT_Scalar BOP_BBox::getExtentX | ( | ) | const [inline] |
Definition at line 76 of file BOP_BBox.h.
References m_extentX.
const MT_Scalar BOP_BBox::getExtentY | ( | ) | const [inline] |
Definition at line 77 of file BOP_BBox.h.
References m_extentY.
const MT_Scalar BOP_BBox::getExtentZ | ( | ) | const [inline] |
Definition at line 78 of file BOP_BBox.h.
References m_extentZ.
const bool BOP_BBox::intersect | ( | const BOP_BBox & | b | ) | const [inline] |
Definition at line 89 of file BOP_BBox.h.
References BOP_comp(), m_maxX, m_maxY, m_maxZ, m_minX, m_minY, and m_minZ.
Referenced by BOP_Face2Face().
Definition at line 52 of file BOP_BBox.h.
Referenced by compute(), and getCenterX().
Definition at line 53 of file BOP_BBox.h.
Referenced by compute(), and getCenterY().
Definition at line 54 of file BOP_BBox.h.
Referenced by compute(), and getCenterZ().
Definition at line 55 of file BOP_BBox.h.
Referenced by compute(), and getExtentX().
Definition at line 56 of file BOP_BBox.h.
Referenced by compute(), and getExtentY().
Definition at line 57 of file BOP_BBox.h.
Referenced by compute(), and getExtentZ().
Definition at line 49 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().
Definition at line 50 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().
Definition at line 51 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().
Definition at line 46 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().
Definition at line 47 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().
Definition at line 48 of file BOP_BBox.h.
Referenced by add(), BOP_BBox(), compute(), and intersect().