|
libAlgAudio
v1.99-440-g08538e5-dirty
The development library for AlgAudio framework.
|
#include <Utilities.hpp>
Public Member Functions | |
| Point2D | Center () const |
| bool | IsFullyInside (const Rect &other) |
| Rect | MoveOffset (Point2D p) const |
| Rect () | |
| Rect (Point2D a_, Point2D b_) | |
| Rect (Point2D a_, Size2D s) | |
| Size2D | Size () const |
Public Attributes | |
| Point2D | a |
| Point2D | b |
A strcuture for representing rectangles.
|
inline |
When constructing a rectangle spanned between two points, the order of the points is not significant.
|
inline |
Returns the center point of this rectangle.
|
inline |
Returns true iff this rectangle is fully contained within the other one.
Returns a new rectangle which after a translation by the vector given as a point.
|
inline |
| Point2D AlgAudio::Rect::a |
| Point2D AlgAudio::Rect::b |