|
Move Vectormath main
C++20 game and graphics mathematics
|
#include <mv/math/geometry/Obb3.hpp>
Public Types | |
| using | Component = T |
Public Member Functions | |
| Obb3 () noexcept=default | |
| const Point3< T > & | Center () const noexcept |
| const Vec3< T > & | HalfExtents () const noexcept |
| const Rotation3< T > & | Orientation () const noexcept |
| Direction3< T > | AxisX () const noexcept |
| Direction3< T > | AxisY () const noexcept |
| Direction3< T > | AxisZ () const noexcept |
| Point3< T > | ClosestPoint (const Point3< T > &point) const noexcept |
| bool | Contains (const Point3< T > &point, T tolerance=T(0)) const noexcept |
| Point3< T > | Support (const Vec3< T > &direction) const noexcept |
| std::array< Point3< T >, 8 > | Corners () const noexcept |
Static Public Member Functions | |
| static std::optional< Obb3 > | TryFromCenterHalfExtents (const Point3< T > ¢er, const Vec3< T > &halfExtents, const Rotation3< T > &orientation=Rotation3< T >::Identity()) noexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |