24#ifndef LIBSBX_MATH_BOX_HPP_
25#define LIBSBX_MATH_BOX_HPP_
32#include <libsbx/math/plane.hpp>
33#include <libsbx/math/vector3.hpp>
135#include <libsbx/math/box.ipp>
Plane-based box represented by six clipping planes.
Definition: box.hpp:46
Type value_type
Underlying scalar value type.
Definition: box.hpp:53
auto intersects(const volume_type &volume) const -> bool
Tests whether this box intersects a volume.
Definition: box.ipp:15
std::size_t size_type
Index type for plane access.
Definition: box.hpp:68
auto planes() const noexcept -> const std::array< plane_type, 6u > &
Returns the plane array backing this box.
Definition: box.ipp:33
basic_box() noexcept=default
Constructs an empty box.
Definition: volume.hpp:14
Core numeric concepts and type traits.