Magnum/Math/Range.h file

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

Contents

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.
template<Magnum::UnsignedInt dimensions, class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Range<dimensions, T>>
Configuration value parser and writer.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Range2D<T>>
Configuration value parser and writer.
template<class T>
struct Corrade::Utility::ConfigurationValue<Magnum::Math::Range3D<T>>
Configuration value parser and writer.

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 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<<(Corrade::Utility::Debug& debug, const Range<dimensions, T>& value) -> Corrade::Utility::Debug&
Debug output operator.