3ds Max C++ API Reference
|
#include <box2.h>
Public Member Functions | |
Box2 () | |
Box2 (const IPoint2 &a, const IPoint2 &b) | |
bool | IsEmpty () |
void | SetEmpty () |
void | Rectify () |
void | Scale (float f) |
void | Translate (IPoint2 t) |
IPoint2 | GetCenter () const |
int | x () const |
int | y () const |
int | w () const |
int | h () const |
void | SetW (int w) |
void | SetH (int h) |
void | SetX (int x) |
void | SetY (int y) |
void | SetWH (int w, int h) |
void | SetXY (int x, int y) |
Box2 & | operator= (const RECT &r) |
Box2 & | operator= (RECT &r) |
Box2 & | operator+= (const Box2 &b) |
Box2 & | operator+= (const IPoint2 &p) |
bool | operator== (const Box2 &b) const |
bool | operator!= (const Box2 &b) const |
bool | Contains (const IPoint2 &p) const |
bool | IntersectsLine (int x0, int y0, int x1, int y1) const |
Box2 | ( | ) |
bool IsEmpty | ( | ) |
void SetEmpty | ( | ) |
void Rectify | ( | ) |
void Scale | ( | float | f | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Box2& operator= | ( | const RECT & | r | ) |
Box2& operator= | ( | RECT & | r | ) |
|
inline |
|
inline |
bool Contains | ( | const IPoint2 & | p | ) | const |