Add geom::interval::full
This commit is contained in:
parent
4410597e44
commit
cf99917272
1 changed files with 5 additions and 0 deletions
|
|
@ -79,6 +79,11 @@ namespace psemek::geom
|
||||||
return {value, value};
|
return {value, value};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static interval full()
|
||||||
|
{
|
||||||
|
return {limits<T>::min(), limits<T>::max()};
|
||||||
|
}
|
||||||
|
|
||||||
bool empty() const
|
bool empty() const
|
||||||
{
|
{
|
||||||
return min > max;
|
return min > max;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue