4.4.0
|
|
Freundlich's C++ toolkit |
The object sphere class.
T | The value type to hold |
N | The static size of the sphere |
Public Types | |
using | value_type = T |
using | reference = T & |
using | const_reference = T const & |
using | point_type = fcppt::math::vector::static_< value_type, N > |
Public Member Functions | |
object (point_type origin, value_type radius) | |
Constructs a sphere from origin and radius. | |
point_type & | origin () |
point_type const & | origin () const |
reference | radius () |
const_reference | radius () const |
using fcppt::math::sphere::object< T, N >::const_reference = T const & |
using fcppt::math::sphere::object< T, N >::point_type = fcppt::math::vector::static_<value_type, N> |
using fcppt::math::sphere::object< T, N >::reference = T & |
using fcppt::math::sphere::object< T, N >::value_type = T |
fcppt::math::sphere::object< T, N >::object | ( | point_type | origin, |
value_type | radius | ||
) |
Constructs a sphere from origin and radius.
point_type & fcppt::math::sphere::object< T, N >::origin | ( | ) |
point_type const & fcppt::math::sphere::object< T, N >::origin | ( | ) | const |
reference fcppt::math::sphere::object< T, N >::radius | ( | ) |
const_reference fcppt::math::sphere::object< T, N >::radius | ( | ) | const |