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

Function GetLimitRect

generator/coastlines_generator.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22using RectT = m2::RectI;
23
24m2::RectD GetLimitRect(RegionT const & rgn)
25{
26 RectT const r = rgn.GetRect();
27 return m2::RectD(r.minX(), r.minY(), r.maxX(), r.maxY());
28}
29
30PointT D2I(m2::PointD const & p)
31{

Callers 2

AddRegionToTreeMethod · 0.70
ProcessCellMethod · 0.70

Calls 5

minXMethod · 0.80
minYMethod · 0.80
maxXMethod · 0.80
maxYMethod · 0.80
GetRectMethod · 0.45

Tested by

no test coverage detected