MCPcopy Create free account
hub / github.com/comaps/comaps / CalculateBoundingBox

Class CalculateBoundingBox

libs/geometry/algorithm.hpp:57–65  ·  view source on GitHub ↗

Calculates the smallest rect that includes given geometry.

Source from the content-addressed store, hash-verified

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

Callers 2

GetBoundingBoxFunction · 0.85
OnShowPositionClickedMethod · 0.85

Calls

no outgoing calls

Tested by 1

GetBoundingBoxFunction · 0.68