OGLplus  (0.59.0) a C++ wrapper for rendering APIs

eagine::math::basic_sphere< T, N, V > Class Template Reference

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.
 

Detailed Description

template<typename T, int N, bool V>
class eagine::math::basic_sphere< T, N, V >

Basic template for spheres in N-dimensional space.


The documentation for this class was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).