|
Move Vectormath main
C++20 game and graphics mathematics
|
#include <mv/math/geometry/Aabb3.hpp>
Public Types | |
| using | Component = T |
Public Member Functions | |
| Aabb3 () noexcept | |
| const Point3< T > & | Minimum () const noexcept |
| const Point3< T > & | Maximum () const noexcept |
| bool | IsEmpty () const noexcept |
| bool | IsValid () const noexcept |
| std::optional< Point3< T > > | TryCenter () const noexcept |
| std::optional< Vec3< T > > | TrySize () const noexcept |
| std::optional< Vec3< T > > | TryHalfExtents () const noexcept |
| bool | Contains (const Point3< T > &point) const noexcept |
| bool | Contains (const Aabb3 &other) const noexcept |
| bool | Intersects (const Aabb3 &other) const noexcept |
| Aabb3 | Merged (const Aabb3 &other) const noexcept |
| Aabb3 | Intersection (const Aabb3 &other) const noexcept |
| std::optional< Aabb3 > | TryExpanded (const Point3< T > &point) const noexcept |
| std::optional< Point3< T > > | TryClosestPoint (const Point3< T > &point) const noexcept |
| T | Volume () const noexcept |
| T | SurfaceArea () const noexcept |
| std::optional< std::array< Point3< T >, 8 > > | TryCorners () const noexcept |
Static Public Member Functions | |
| static Aabb3 | Empty () noexcept |
| static std::optional< Aabb3 > | TryFromMinMax (const Point3< T > &minimum, const Point3< T > &maximum) noexcept |
| static std::optional< Aabb3 > | TryFromCenterHalfExtents (const Point3< T > ¢er, const Vec3< T > &halfExtents) noexcept |
| static std::optional< Aabb3 > | TryFromPoints (std::span< const Point3< T > > points) noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |