2 #include "common/common.hpp"
8 using TBB = std::pair<TCoord, TCoord>;
11 void accumulate(
const TCoord &c)
22 void accumulate(
const TBB &bb)
25 accumulate(bb.second);
28 const auto &get()
const
33 const TBB get_or_0()
const
41 const TBB get_or(
const TBB &other)
const
50 std::optional<TBB> bbox;
Definition: bbox_accumulator.hpp:6
Your typical coordinate class.
Definition: common.hpp:78
static Coord< T > max(const Coord< T > &a, const Coord< T > &b)
Definition: common.hpp:156
static Coord< T > min(const Coord< T > &a, const Coord< T > &b)
Definition: common.hpp:148