42 bool has_in_core(
const std::shared_ptr<Shape> &obj_ptr)
const override {
43 return m_core_shape->contains(obj_ptr->shape());
45 void add_in_core(
const std::shared_ptr<Shape> &obj_ptr)
override {
46 m_core_shape->add(obj_ptr->shape());
49 m_core_shape->remove(obj_ptr->shape());
53 std::shared_ptr<::Shapes::Shape>
shape()
const override {
58 std::shared_ptr<::Shapes::Union> m_core_shape;
59 std::vector<std::shared_ptr<Shapes::Shape>> m_shapes;