Box2D
3.0.0
A Real-Time-Oriented 2-D Physics Engine
|
Axis Aligned Bounding Box. More...
#include <AABB.hpp>
Public Member Functions | |
AABB ()=default | |
Default constructor. More... | |
constexpr | AABB (const Length2D p) noexcept |
Initializing constructor for a single point. More... | |
constexpr | AABB (const Length2D a, const Length2D b) noexcept |
Initializing constructor for two points. More... | |
constexpr Length2D | GetLowerBound () const noexcept |
constexpr Length2D | GetUpperBound () const noexcept |
constexpr bool | Contains (const AABB aabb) const noexcept |
Does this AABB fully contain the given AABB. More... | |
constexpr AABB & | Include (const AABB aabb) noexcept |
Combine an AABB into this one. More... | |
constexpr AABB & | Include (const Length2D value) noexcept |
constexpr AABB & | Move (const Length2D value) noexcept |
constexpr AABB & | Displace (const Length2D value) noexcept |
constexpr AABB & | Fatten (const Length value) noexcept |
Fattens an AABB by the given amount. More... | |
Axis Aligned Bounding Box.
|
default |
|
inlinenoexcept |
Initializing constructor for a single point.
Initializing constructor for two points.
|
inlinenoexcept |
Fattens an AABB by the given amount.
|
inlinenoexcept |
|
inlinenoexcept |
Combine an AABB into this one.