MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / aabb_overlap

Function aabb_overlap

src/svgfill/src/arrange_polygons.cpp:1035–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1033}
1034
1035bool aabb_overlap(const DBox& a, const DBox& b, double eps = 1.e-9) {
1036 return a[0].x() <= b[1].x() + eps &&
1037 a[1].x() + eps >= b[0].x() &&
1038 a[0].y() <= b[1].y() + eps &&
1039 a[1].y() + eps >= b[0].y();
1040}
1041
1042CenterLineGraphData make_center_line_graph_data(
1043 const std::map<Point_2, std::vector<Point_2>>& line_graph,

Callers 1

clusters_can_mergeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected