2 #include "util/uuid.hpp"
4 #include "nlohmann/json_fwd.hpp"
5 #include "util/placement.hpp"
20 Shape(
const UUID &uu,
const json &j);
21 Shape(
const UUID &uu);
26 std::string parameter_class;
28 enum class Form { CIRCLE, RECTANGLE, OBROUND };
29 Form form = Form::CIRCLE;
30 std::vector<int64_t> params;
32 Polygon to_polygon()
const;
33 std::pair<Coordi, Coordi> get_bbox()
const;
35 UUID get_uuid()
const;
37 json serialize()
const;