Two-dimensional bounds formed from X and Y intervals. More...
Two-dimensional bounds formed from X and Y intervals.
| T | Coordinate type. |
| left | Whether the lower endpoints are open or closed. |
| right | Whether the upper endpoints are open or closed. |
Public Types | |
| using | interval_t = interval<T, left, right> |
Public Member Functions | |
| constexpr bool | operator== (bounds const &rhs) const |
| Compare the X and Y intervals of two bounds. | |
| constexpr bool | operator!= (bounds const &rhs) const |
| Test whether either axis interval differs. | |
Public Attributes | |
| interval_t | x |
| interval_t | y |
| using envitia::bounds< T, left, right >::interval_t = interval<T, left, right> |
|
inlineconstexpr |
Test whether either axis interval differs.
| rhs | Bounds to compare with. |
|
inlineconstexpr |
Compare the X and Y intervals of two bounds.
| rhs | Bounds to compare with. |
| interval_t envitia::bounds< T, left, right >::x |
| interval_t envitia::bounds< T, left, right >::y |