| 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 |