3ds Max C++ API Reference
|
#include <box3.h>
Public Member Functions | |
Box3 () | |
Box3 (const Point3 &p, const Point3 &q) | |
void | Init () |
void | MakeCube (const Point3 &p, float side) |
Point3 | Min () const |
Point3 | Max () const |
Point3 | Center () const |
Point3 | Width () const |
Point3 | operator[] (int i) const |
Box3 & | operator+= (const Point3 &p) |
Box3 & | operator+= (const Box3 &b) |
void | Scale (float s) |
void | Translate (const Point3 &p) |
void | EnlargeBy (float s) |
void | IncludePoints (Point3 *pts, int numpoints, Matrix3 *tm=nullptr) |
Box3 | operator* (const Matrix3 &tm) const |
bool | operator== (const Box3 &b) const |
bool | operator!= (const Box3 &b) const |
bool | IsEmpty () const |
bool | IsInitialized () const |
bool | Contains (const Point3 &p) const |
bool | Contains (const Box3 &b) const |
bool | Intersects (const Box3 &b) const |
bool | TriBoxOverlap (const Point3 vert0, const Point3 vert1, const Point3 vert2) const |
Public Attributes | |
Point3 | pmin |
Point3 | pmax |
Box3 | ( | ) |
void Init | ( | ) |
|
inline |
|
inline |
void Scale | ( | float | s | ) |
void EnlargeBy | ( | float | s | ) |
|
inline |
|
inline |
bool IsEmpty | ( | ) | const |
bool IsInitialized | ( | ) | const |
bool Contains | ( | const Point3 & | p | ) | const |
bool Contains | ( | const Box3 & | b | ) | const |
bool Intersects | ( | const Box3 & | b | ) | const |
Point3 pmin |
Point3 pmax |