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

Function IntersectRegions

libs/geometry/region2d/binary_operators.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15void IntersectRegions(RegionI const & r1, RegionI const & r2, MultiRegionI & res)
16{
17 MultiRegionI local;
18 using namespace boost::polygon::operators;
19 local += (r1 * r2);
20 SpliceRegions(local, res);
21}
22
23MultiRegionI IntersectRegions(RegionI const & r1, MultiRegionI const & r2)
24{

Callers 3

operator()Method · 0.85
UNIT_TESTFunction · 0.85

Calls 1

SpliceRegionsFunction · 0.85

Tested by 1

UNIT_TESTFunction · 0.68