#include <boundingbox.h>
Inheritance diagram for BoundingEllipse


Public Methods | |
| BoundingEllipse () | |
| Default constructor: infinite extent. More... | |
| BoundingEllipse (T centerx, T centery, T radius ) | |
| Constructor for a circular area. More... | |
| BoundingEllipse (T centerx, T centery, T radiusx, T radiusy ) | |
| Constructor for an ellipsoidal area. More... | |
| virtual bool | inside (T x, T y) const |
| Returns true if the given coordinates are inside the box. More... | |
| virtual BoundingBox<T>& | rotate ( T theta ) |
| Rotate the box by the given angle (in radians). More... | |
For simplicity, this is just a minor variation on AARBoundingBox, but if speed is important it can be made a fully-separate class instead so that it can cache the values of the parameters needed by inside().
Definition at line 159 of file boundingbox.h.
|
||||
|
Default constructor: infinite extent.
Definition at line 162 of file boundingbox.h. |
|
||||||||
|
Constructor for a circular area.
Definition at line 165 of file boundingbox.h. |
|
||||||||||
|
Constructor for an ellipsoidal area.
Definition at line 169 of file boundingbox.h. |
|
||||||
|
Returns true if the given coordinates are inside the box.
Reimplemented from AARBoundingBox. Definition at line 173 of file boundingbox.h. |
|
||||
|
Rotate the box by the given angle (in radians). Not implemented. Reimplemented from AARBoundingBox. Definition at line 194 of file boundingbox.h. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000