|
bool | operator== (const ARect &) const noexcept=default |
|
APoint2D< T > | leftTop () const noexcept |
|
APoint2D< T > | rightBottom () const noexcept |
|
APoint2D< T > | rightTop () const noexcept |
|
APoint2D< T > | leftBottom () const noexcept |
|
bool | isInside (APoint2D< T > other) const noexcept |
|
bool | isIntersects (APoint2D< T > other) const noexcept |
|
std::array< APoint2D< T >, 4 > | vertices () const noexcept |
|
APoint2D< T > | center () const noexcept |
|
APoint2D< T > | min () const noexcept |
|
APoint2D< T > | max () const noexcept |
|
T | area () const noexcept |
|
ALineSegment< T > | topLineSegment () const noexcept |
|
ALineSegment< T > | leftLineSegment () const noexcept |
|
ALineSegment< T > | rightLineSegment () const noexcept |
|
ALineSegment< T > | bottomLineSegment () const noexcept |
|
bool | isIntersects (ARect other) const noexcept |
|
APoint2D< T > | size () const noexcept |
|
ARect & | translate (glm::ivec2 by) noexcept |
|
template<typename T>
struct ARect< T >
Axis aligned 2D rectangle.