MCPcopy Create free account
hub / github.com/BIMCoderLiang/LNLib / Intersects

Method Intersects

src/LNLib/include/LNObject.h:94–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 XYZ MaxPoint;
93
94 bool Intersects(const LN_BoundingBox3d& other) const {
95 return (MinPoint.X() <= other.MaxPoint.X() && MaxPoint.X() >= other.MinPoint.X()) &&
96 (MinPoint.Y() <= other.MaxPoint.Y() && MaxPoint.Y() >= other.MinPoint.Y()) &&
97 (MinPoint.Z() <= other.MaxPoint.Z() && MaxPoint.Z() >= other.MinPoint.Z());
98 }
99 };
100
101 //OBB Box

Callers

nothing calls this directly

Calls 3

XMethod · 0.80
YMethod · 0.80
ZMethod · 0.80

Tested by

no test coverage detected