Calculates the smallest rect that includes given geometry.
| 55 | |
| 56 | // Calculates the smallest rect that includes given geometry. |
| 57 | class CalculateBoundingBox |
| 58 | { |
| 59 | public: |
| 60 | void operator()(PointD const & p); |
| 61 | RectD GetResult() const { return m_boundingBox; } |
| 62 | |
| 63 | private: |
| 64 | RectD m_boundingBox; |
| 65 | }; |
| 66 | |
| 67 | namespace impl |
| 68 | { |
no outgoing calls