#include <boundingbox.h>
Inheritance diagram for BoundingBox

Public Methods | |
| virtual bool | inside (T x, T y) const = 0 |
| Whether the given point is enclosed by the box. | |
| virtual BoundingBox<T>& | scale (T xscale, T yscale) = 0 |
| Scale the size of the box in X and Y dimensions. | |
| virtual BoundingBox<T>& | rotate (T angle) = 0 |
| Rotate the box around the origin. | |
| virtual BoundingBox<T>& | translate (T xoffset, T yoffset) = 0 |
| Translate the origin of the box elsewhere. | |
| virtual ostream& | put (ostream &s) const |
| Virtual interface to the operator<<, since << cannot be virtual. More... | |
Definition at line 21 of file boundingbox.h.
|
||||
|
Virtual interface to the operator<<, since << cannot be virtual. This implementation is just a stub, and should be overriden in derived classes. Reimplemented in AARBoundingBox. Definition at line 39 of file boundingbox.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000