MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / intersectsRect

Method intersectsRect

Source/Support/Geometry.cpp:332–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332bool Rect::intersectsRect(const Rect& rect) const {
333 return !(getRight() < rect.getLeft() || rect.getRight() < getLeft() || getTop() < rect.getBottom() || rect.getTop() < getBottom());
334}
335
336// AffineTransform
337

Callers 2

ARRAY_STARTFunction · 0.80
rect_intersects_rectFunction · 0.80

Calls 4

getBottomMethod · 0.80
getTopMethod · 0.80
getLeftMethod · 0.45
getRightMethod · 0.45

Tested by

no test coverage detected