Recti 1.2.4
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
interval.hpp File Reference

Interval (range) template class with arithmetic and set operations. More...

#include <utility>
#include "generic.hpp"
Include dependency graph for interval.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  recti::Interval< T >
 Interval. More...
 

Namespaces

namespace  recti
 

Functions

template<typename U1 , typename U2 >
constexpr auto recti::hull (const U1 &left, const U2 &right)
 Computes the hull of two objects.
 
template<typename U1 , typename U2 >
constexpr auto recti::enlarge (const U1 &left, const U2 &right)
 Enlarges an interval or scalar value by adding and subtracting a given value.
 

Detailed Description

Interval (range) template class with arithmetic and set operations.