4.6.0
Freundlich's C++ toolkit
|
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) | |
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. | |
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. | |
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. | |
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. | |
Contains fcppt::math::sphere::object sphere::object and helper functions, classes and types for it.