31 : m_decorated{decorated} {
62 auto min_x =
std::min({a.first, b.first, c.first, d.first});
63 auto min_y =
std::min({a.second, b.second, c.second, d.second});
77 auto min_x =
std::max({a.first, b.first, c.first, d.first});
78 auto min_y =
std::max({a.second, b.second, c.second, d.second});
84 auto diff_x = pixel_x - center_x;
85 auto diff_y = pixel_y - center_y;
90 return m_decorated->getArea(0, 0, new_diff_x, new_diff_y);
94 auto diff_x = pixel_x - center_x;
95 auto diff_y = pixel_y - center_y;
100 return m_decorated->getRadiusSquared(0, 0, new_diff_x, new_diff_y);
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y