Struct · aurore

aurore::Rect

On this page
aurore/core/geometry.hpp
#include <aurore/core/geometry.hpp>

struct aurore::Rect

Constructors 3

Rect()
Rect(Point origin, Size size)
Rect(float x, float y, float width, float height)

Functions 14

float getWidth() const
float getHeight() const
float getMinX() const
float getMinY() const
float getMidX() const
float getMidY() const
float getMaxX() const
float getMaxY() const
bool operator==(const Rect &other) const
bool pointInside(Point point)
std::string describe()
bool collideWith(const Rect &other) const
bool inscribed(const Rect &other) const
Rect offsetBy(const Point &origin) const

Attributes 2

Point origin
Size size

Read from Aurore's headers by Doxygen at each build · library/include