MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Overlaps

Method Overlaps

include/luxrays/core/geometry/bbox.h:61–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 friend bool Overlaps(BBox &result, const BBox &b1, const BBox &b2);
60
61 bool Overlaps(const BBox &b) const {
62 const bool x = (pMax.x >= b.pMin.x) && (pMin.x <= b.pMax.x);
63 const bool y = (pMax.y >= b.pMin.y) && (pMin.y <= b.pMax.y);
64 const bool z = (pMax.z >= b.pMin.z) && (pMin.z <= b.pMax.z);
65 return (x && y && z);
66 }
67
68 bool Inside(const Point &pt) const {
69 return (pt.x >= pMin.x && pt.x <= pMax.x &&

Callers 5

IsClippedExMethod · 0.80
IsItemVisibleMethod · 0.80
InputTextExMethod · 0.80
IsRectVisibleMethod · 0.80
OverlapsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected