|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | operator== (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Gets whether the two AABB objects are equal. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | operator!= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Gets whether the two AABB objects are not equal. More...
|
|
template<std::size_t N> |
bool | operator< (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Less-than operator. More...
|
|
template<std::size_t N> |
bool | operator<= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Less-than or equal-to operator. More...
|
|
template<std::size_t N> |
bool | operator> (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Greater-than operator. More...
|
|
template<std::size_t N> |
bool | operator>= (const AABB< N > &lhs, const AABB< N > &rhs) noexcept |
| Greater-than or equal-to operator. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | TestOverlap (const AABB< N > &a, const AABB< N > &b) noexcept |
| Tests for overlap between two axis aligned bounding boxes. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > | GetIntersectingAABB (const AABB< N > &a, const AABB< N > &b) noexcept |
| Gets the intersecting AABB of the two given AABBs'. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR Vector< Length, N > | GetCenter (const AABB< N > &aabb) noexcept |
| Gets the center of the AABB. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR Vector< Length, N > | GetDimensions (const AABB< N > &aabb) noexcept |
| Gets dimensions of the given AABB. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR Vector< Length, N > | GetExtents (const AABB< N > &aabb) noexcept |
| Gets the extents of the AABB (half-widths). More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | Contains (const AABB< N > &a, const AABB< N > &b) noexcept |
| Checks whether the first AABB fully contains the second AABB. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > & | Include (AABB< N > &var, const Vector< Length, N > &value) noexcept |
| Includes the given location into the given AABB. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > & | Include (AABB< N > &var, const AABB< N > &val) noexcept |
| Includes the second AABB into the first one. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > & | Move (AABB< N > &var, const Vector< Length, N > value) noexcept |
| Moves the given AABB by the given value. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > & | Fatten (AABB< N > &var, const NonNegative< Length > amount) noexcept |
| Fattens an AABB by the given amount. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > | GetDisplacedAABB (AABB< N > aabb, const Vector< Length, N > displacement) |
| Gets the AABB that the result of displacing the given AABB by the given displacement amount. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > | GetFattenedAABB (AABB< N > aabb, const Length amount) |
| Gets the fattened AABB result. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > | GetMovedAABB (AABB< N > aabb, const Vector< Length, N > value) noexcept |
| Gets the result of moving the given AABB by the given value. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR AABB< N > | GetEnclosingAABB (AABB< N > a, const AABB< N > &b) |
| Gets the AABB that minimally encloses the given AABBs. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR Vector< Length, N > | GetLowerBound (const AABB< N > &aabb) noexcept |
| Gets the lower bound. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR Vector< Length, N > | GetUpperBound (const AABB< N > &aabb) noexcept |
| Gets the upper bound. More...
|
|
template<std::size_t N> |
inline ::std::ostream & | operator<< (::std::ostream &os, const AABB< N > &value) |
| Output stream operator. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | operator== (MassData< N > lhs, MassData< N > rhs) |
| Equality operator for mass data. More...
|
|
template<std::size_t N> |
PLAYRHO_CONSTEXPR bool | operator!= (MassData< N > lhs, MassData< N > rhs) |
| Inequality operator for mass data. More...
|
|
constexpr auto | factorial (std::int64_t n) |
| Computes the factorial. More...
|
|
template<typename BT , unsigned int FB, int N = 6> |
constexpr Fixed< BT, FB > | exp (Fixed< BT, FB > arg) |
| Computes Euler's number raised to the given power argument. More...
|
|
template<typename BT , unsigned int FB, int N = 6> |
Fixed< BT, FB > | log (Fixed< BT, FB > arg) |
| Computes the natural logarithm. More...
|
|
template<typename BT , unsigned int FB, int N = 5> |
constexpr Fixed< BT, FB > | sin (Fixed< BT, FB > arg) |
| Computes the sine of the given argument via Maclaurin series approximation. More...
|
|
template<typename BT , unsigned int FB, int N = 5> |
constexpr Fixed< BT, FB > | cos (Fixed< BT, FB > arg) |
| Computes the cosine of the given argument via Maclaurin series approximation. More...
|
|
template<typename BT , unsigned int FB, int N = 5> |
constexpr Fixed< BT, FB > | atan (Fixed< BT, FB > arg) |
| Computes the arctangent of the given argument via Maclaurin series approximation. More...
|
|
template<typename BT , unsigned int FB> |
constexpr auto | ComputeSqrt (Fixed< BT, FB > arg) |
| Computes the square root of a non-negative value. More...
|
|
template<typename BT , unsigned int FB> |
auto | AngularNormalize (Fixed< BT, FB > angleInRadians) |
| Normalizes the given angular argument. More...
|
|
template<class T > |
PLAYRHO_CONSTEXPR auto | max_size (const T &arg) -> decltype(arg.max_size()) |
| Gets the maximum size of the given container. More...
|
|
template<class T > |
PLAYRHO_CONSTEXPR auto | IsFull (const T &arg) -> decltype(size(arg)==max_size(arg)) |
| Checks whether the given container is full. More...
|
|
Name space for internal/detail related PlayRho names.