#include <boundingbox.h>
Inheritance diagram for Boundary::BoundingCircle< T, Boolean, Float >:
Definition at line 269 of file boundingbox.h.
Public Methods | |
BoundingCircle () | |
Default constructor: infinite extent. | |
BoundingCircle (T centerx_, T centery_, Float radius_) | |
Typical constructor. | |
Boolean | isinfinite () const |
virtual Boolean | inside (T x, T y) const |
Whether the given point is enclosed by the box, inclusively. | |
virtual base & | scale (T xscale, T yscale) |
Only supports scaling with xscale==yscale. | |
virtual base & | rotate (Float) |
Rotating a circle does nothing. | |
virtual base & | translate (T xoffset, T yoffset) |
Translate the origin of the box elsewhere. | |
virtual base::Rectangle | aarectangle () const |
Provides an axis-aligned rectangle based on the circle, but not necessarily enclosing all of it due to integer truncation. | |
virtual base * | clone () const |
Constructs an identical copy of self and returns it. | |
virtual std::ostream & | put (std::ostream &s) const |
Virtual interface to the operator<<, since << cannot be virtual. |
|
Virtual interface to the operator<<, since << cannot be virtual. This implementation is just a stub, and should be overriden in derived classes. Outputs a human-readable representation to the given stream. Reimplemented from Boundary::BoundingBox< T, Boolean, Float >. Definition at line 317 of file boundingbox.h. |