Struct ball_t¶
Defined in File ball.hpp
Struct Documentation¶
-
struct ball_t¶
A ball: the interior of a spherical shell.
Public Functions
-
inline constexpr bool empty() const noexcept¶
-
inline constexpr bool isfinite() const noexcept¶
-
inline constexpr bool contains(const pqvec3_t &p) const noexcept¶
Checks if the ball contains a point.
-
inline constexpr bool contains(const ball_t &ball) const noexcept¶
Checks if the ball contains another ball.
-
template<std::size_t W>
inline auto contains(const pqvec3_w_t<W> &p) const noexcept¶ Checks if the ball contains a point. Wide test.
-
inline constexpr auto volume() const noexcept¶
Ball volume.
-
inline constexpr auto surface_area() const noexcept¶
Surface area of the ball’s spherical shell.
-
inline constexpr bool empty() const noexcept¶