MCPcopy Create free account
hub / github.com/comaps/comaps / operator()

Method operator()

generator/coastlines_generator.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void operator()(RegionT const & r)
98 {
99 // if r is fully inside source rect region,
100 // put it to the result vector without any intersection
101 if (m_src.IsRectInside(r.GetRect()))
102 m_res.push_back(r);
103 else
104 m2::IntersectRegions(m_res.front(), r, m_res);
105 }
106
107 size_t GetPointsCount() const
108 {

Callers

nothing calls this directly

Calls 5

IntersectRegionsFunction · 0.85
frontMethod · 0.80
IsRectInsideMethod · 0.45
GetRectMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected