plane.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::plane
- A plane.
-
template <typename Scalar>struct std::tuple_size<muu::plane<Scalar>>
- Specialization of std::tuple_size for muu::
plane. -
template <size_struct std::tuple_element<I, muu::plane<Scalar>>
t I, typename Scalar> - Specialization of std::tuple_element for muu::
plane. -
template <typename Scalar>struct muu::constants<plane<Scalar>>
- Plane constants.
Functions
-
template <typename S, typename T>auto approx_equal(const plane<S>& p1, const plane<T>& p2, epsilon_type<S, T> epsilon = default_epsilon<S, T>) -> bool constexpr noexcept
- Returns true if two planes are approximately equal.
-
template <typename S>auto approx_zero(const plane<S>& p, S epsilon = default_epsilon<S>) -> bool constexpr noexcept
- Returns true if all the scalar components of a plane are approximately equal to zero.
-
template <typename S>auto infinity_or_nan(const plane<S>& p) -> bool constexpr noexcept
- Returns true if any of the scalar components of a plane are infinity or NaN.
-
template <typename S>auto normalized(const plane<S>& p) -> bool constexpr noexcept
- Returns true if a plane is normalized.