Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Area
Function
Area
libs/geometry/region2d/binary_operators.cpp:45–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
uint64_t Area(MultiRegionI const & rgn)
46
{
47
uint64_t area = 0;
48
for (auto const & r : rgn)
49
area += r.CalculateArea();
50
return area;
51
}
52
} // namespace m2
Callers
1
UNIT_TEST
Function · 0.50
Calls
1
CalculateArea
Method · 0.80
Tested by
1
UNIT_TEST
Function · 0.40