Basic template for spheres in N-dimensional space. More...
#include <eagine/math/primitives.hpp>
Public Member Functions | |
constexpr | basic_sphere () noexcept=default |
Default constructor. | |
constexpr | basic_sphere (tvec< T, N, V > cntr, T rad) noexcept |
Construction from center point and radius value. | |
constexpr auto | center () const noexcept -> vector< T, N, V > |
Returns the sphere center. | |
constexpr auto | radius () const noexcept -> T |
Returns the sphere radius. | |
Basic template for spheres in N-dimensional space.