3.7.0
Freundlich's C++ toolkit
Classes | Typedefs | Functions
fcppt::math::sphere Namespace Reference

Contains fcppt::math::sphere::object sphere::object and helper functions, classes and types for it. More...

Classes

class  object
 The object sphere class. More...
 

Typedefs

template<typename T >
using circle = fcppt::math::sphere::object< T, 2 >
 Typedefs a sphere with a dimension of 2 (a circle) More...
 

Functions

template<typename T , fcppt::math::size_type N>
bool operator== (fcppt::math::sphere::object< T, N > const &_a, fcppt::math::sphere::object< T, N > const &_b)
 Compares two spheres for equality. More...
 
template<typename T , fcppt::math::size_type N>
bool operator!= (fcppt::math::sphere::object< T, N > const &_a, fcppt::math::sphere::object< T, N > const &_b)
 Compares two spheres for inequality. More...
 
template<typename T , fcppt::math::size_type N>
bool intersects (fcppt::math::sphere::object< T, N > const &_a, fcppt::math::sphere::object< T, N > const &_b)
 Checks if two spheres intersect. More...
 
template<typename T , fcppt::math::size_type Size, typename Ch , typename Traits >
std::basic_ostream< Ch, Traits > & operator<< (std::basic_ostream< Ch, Traits > &_stream, fcppt::math::sphere::object< T, Size > const &_sphere)
 Outputs a sphere to a stream. More...
 

Detailed Description

Contains fcppt::math::sphere::object sphere::object and helper functions, classes and types for it.