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

Function DiffRegions

libs/geometry/region2d/binary_operators.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void DiffRegions(RegionI const & r1, RegionI const & r2, MultiRegionI & res)
32{
33 MultiRegionI local;
34 using namespace boost::polygon::operators;
35 local += boost::polygon::operators::operator-(r1, r2);
36 SpliceRegions(local, res);
37}
38
39void AddRegion(RegionI const & r, MultiRegionI & res)
40{

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

SpliceRegionsFunction · 0.85
operator-Function · 0.50

Tested by 1

UNIT_TESTFunction · 0.68