oriented_bounding_box.h file
Contains the definition of muu::
Namespaces
- namespace muu
- The root namespace for all muu functions and types.
Classes
-
template <typename Scalar>struct muu::oriented_bounding_box
- An oriented bounding box.
-
template <typename Scalar>struct std::tuple_size<muu::oriented_bounding_box<Scalar>>
- Specialization of std::tuple_size for muu::
bounding_box. -
template <size_struct std::tuple_element<I, muu::oriented_bounding_box<Scalar>>
t I, typename Scalar> - Specialization of std::tuple_element for muu::
bounding_box. -
template <typename Scalar>struct muu::constants<oriented_bounding_box<Scalar>>
- Oriented bounding box constants.
Functions
-
template <typename S, typename T>auto approx_equal(const oriented_bounding_box<S>& bb1, const oriented_bounding_box<T>& bb2, epsilon_type<S, T> epsilon = default_epsilon<S, T>) -> bool constexpr noexcept
- Returns true if two oriented bounding boxes are approximately equal.
-
template <typename S>auto approx_zero(const oriented_bounding_box<S>& bb, S epsilon = default_epsilon<S>) -> bool constexpr noexcept
- Returns true if all the scalar components of an oriented bounding box are approximately equal to zero.
-
template <typename S>auto degenerate(const oriented_bounding_box<S>& bb) -> bool constexpr noexcept
- Returns true if an oriented bounding box is degenerate (i.e. any of its extents are less than or equal to zero).
-
template <typename S>auto infinity_or_nan(const oriented_bounding_box<S>& bb) -> bool constexpr noexcept
- Returns true if any of the scalar components of an oriented bounding box are infinity or NaN.