#include <bbox.H>
Collaboration diagram for BBOX2D:
Public Member Functions | |
BBOX2D () | |
BBOX2D (mlib::CXYpt &l, mlib::CXYpt &h) | |
BBOX2D (CBBOX2D &b) | |
BBOX2D (CGELptr &g, int recurse=0) | |
void | reset () |
bool | valid () const |
mlib::XYpt | min () const |
mlib::XYpt | max () const |
mlib::XYpt | center () const |
mlib::XYvec | dim () const |
void | scale (double s) |
bool | overlaps (CBBOX2D &b) const |
bool | contains (mlib::CXYpt &p) const |
double | dist (mlib::CXYpt &p) const |
BBOX2D & | operator+= (CBBOX2D &b) |
BBOX2D & | operator+= (mlib::CXYpt_list &pts) |
BBOX2D & | update (mlib::CXYpt &p) |
void | set (mlib::CXYpt &l, mlib::CXYpt &h) |
Protected Attributes | |
bool | _valid |
mlib::XYpt | _max |
mlib::XYpt | _min |
Definition at line 113 of file bbox.H.
|
|
|
|
|
|
|
Definition at line 269 of file bbox.C. References update(). |
|
Definition at line 127 of file bbox.H. Referenced by scale(). |
|
Referenced by MODE_TEXT::intersect(), and MMENU::move(). |
|
Definition at line 128 of file bbox.H. Referenced by scale(). |
|
|
|
Definition at line 126 of file bbox.H. References _max. Referenced by TEXT2D::draw(), TEXT2D::inside(), overlaps(), and MMENU::tick(). |
|
Definition at line 125 of file bbox.H. References _min. Referenced by TEXT2D::draw(), TEXT2D::inside(), overlaps(), and MMENU::tick(). |
|
Definition at line 397 of file bbox.C. References update(). |
|
Definition at line 141 of file bbox.H. References update(). |
|
|
|
Definition at line 123 of file bbox.H. References _valid. |
|
|
|
|
|
Referenced by BBOX2D(), and operator+=(). |
|
Definition at line 124 of file bbox.H. References _valid. |
|
|
|
|
|
Definition at line 115 of file bbox.H. Referenced by overlaps(), reset(), scale(), set(), and valid(). |