#include <bbox.H>
Public Methods | |
BBOX () | |
BBOX (const P &l, const P &h) | |
BBOX (const BBOX< P, V > &b) | |
void | reset () |
bool | valid () const |
const P & | min () const |
const P & | max () const |
P | center () const |
V | dim () const |
bool | overlaps (const BBOX< P, V > &bbox) const |
BBOX< P, V > & | update (const P &p) |
bool | contains (const P &p) const |
BBOX< P, V > & | operator+= (const BBOX< P, V > &b) |
bool | operator== (const BBOX< P, V > &bb) const |
Protected Attributes | |
bool | _valid |
P | _min |
P | _max |
Friends | |
ostream & | operator<< (ostream &os, const BBOX< P, V > &b) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|