Axis-aligned 2D bounding box type. More...
#include <bb.hpp>
Public Member Functions | |
bool | contains (Vect v) const |
Returns true if bb contains v. |
Static Public Member Functions | |
static BB | forCircle (Vect p, Float r) |
Convenience constructor for making a cp::BB fitting a circle at position p with radius r. |
Public Attributes | |
Float | l |
left | |
Float | b |
bottom | |
Float | r |
right | |
Float | t |
top |
Axis-aligned 2D bounding box type.