Magnum/Math/Range.h file

Class Magnum::Math::Range, Magnum::Math::Range2D, Magnum::Math::Range3D, alias Magnum::Math::Range1D.

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Math
Math library.

Classes

template<UnsignedInt dimensions, class T>
class Magnum::Math::Range
N-dimensional range.
template<class T>
class Magnum::Math::Range2D
Two-dimensional range.
template<class T>
class Magnum::Math::Range3D
Three-dimensional range.

Typedefs

template<class T>
using Range1D = Range<1, T>
One-dimensional range.

Functions

template<UnsignedInt dimensions, class T>
auto join(const Range<dimensions, T>& a, const Range<dimensions, T>& b) -> Range<dimensions, T>
Join two ranges.
template<UnsignedInt dimensions, class T>
auto join(const Range<dimensions, T>& a, const Vector<dimensions, T>& b) -> Range<dimensions, T> new in Git master
Join a range and a point.
template<UnsignedInt dimensions, class T>
auto intersect(const Range<dimensions, T>& a, const Range<dimensions, T>& b) -> Range<dimensions, T>
Intersect two ranges.
template<UnsignedInt dimensions, class T>
auto intersects(const Range<dimensions, T>& a, const Range<dimensions, T>& b) -> bool
Whether two ranges intersect.
template<UnsignedInt dimensions, class T>
auto operator<<(Debug& debug, const Range<dimensions, T>& value) -> Debug&
Debug output operator.