|
TraceMaker
C++ API of the engine
|
#include <geom/point.hpp>
Public Member Functions | |
| constexpr bool | empty () const |
| constexpr void | add (Point p) |
| constexpr void | add (const Box &b) |
| constexpr Box | inflated (Coord d) const |
| constexpr bool | intersects (const Box &b) const |
Public Attributes | |
| Coord | x0 = 0 |
| Coord | y0 = 0 |
| Coord | x1 = -1 |
| Coord | y1 = -1 |
| empty when x1 < x0 | |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| Coord tmk::geom::Box::x1 = -1 |
| Coord tmk::geom::Box::y1 = -1 |