Add geom::interval::full

This commit is contained in:
Nikita Lisitsa 2020-09-23 22:24:43 +03:00
parent 4410597e44
commit cf99917272

View file

@ -79,6 +79,11 @@ namespace psemek::geom
return {value, value};
}
static interval full()
{
return {limits<T>::min(), limits<T>::max()};
}
bool empty() const
{
return min > max;