Magnum/Shapes/Sphere.h file

Class Magnum::Shapes::Sphere, typedef Magnum::Shapes::Sphere2D, Magnum::Shapes::Sphere3D.

Contents

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Shapes deprecated
Shape library.

Classes

template<UnsignedInt dimensions>
class Magnum::Shapes::Sphere deprecated
Sphere defined by position and radius.
template<UnsignedInt dimensions>
class Magnum::Shapes::InvertedSphere deprecated
Inverted sphere defined by position and radius.

Typedefs

using Sphere2D = Sphere<2> deprecated
Two-dimensional sphere.
using Sphere3D = Sphere<3> deprecated
Three-dimensional sphere.
using InvertedSphere2D = InvertedSphere<2> deprecated
Inverted two-dimensional sphere.
using InvertedSphere3D = InvertedSphere<3> deprecated
Inverted three-dimensional sphere.

Functions

template<UnsignedInt dimensions>
auto operator%(const Point<dimensions>& a, const Sphere<dimensions>& b) -> bool deprecated
Collision occurence of Point and Sphere.
template<UnsignedInt dimensions>
auto operator%(const Point<dimensions>& a, const InvertedSphere<dimensions>& b) -> bool deprecated
Collision occurence of Point and InvertedSphere.
template<UnsignedInt dimensions>
auto operator/(const Point<dimensions>& a, const Sphere<dimensions>& b) -> Collision<dimensions> deprecated
Collision of Point and Sphere.
template<UnsignedInt dimensions>
auto operator/(const Point<dimensions>& a, const InvertedSphere<dimensions>& b) -> Collision<dimensions> deprecated
Collision of Point and InvertedSphere.
template<UnsignedInt dimensions>
auto operator%(const Line<dimensions>& a, const Sphere<dimensions>& b) -> bool deprecated
Collision occurence of Line and Sphere.
template<UnsignedInt dimensions>
auto operator%(const LineSegment<dimensions>& a, const Sphere<dimensions>& b) -> bool deprecated
Collision occurence of LineSegment and Sphere.
template<UnsignedInt dimensions>
auto operator%(const Sphere<dimensions>& a, const InvertedSphere<dimensions>& b) -> bool deprecated
Collision occurence of Sphere and InvertedSphere.
template<UnsignedInt dimensions>
auto operator/(const Sphere<dimensions>& a, const InvertedSphere<dimensions>& b) -> Collision<dimensions> deprecated
Collision of Sphere and InvertedSphere.