\returns true if the box \a b is intersecting the box \c *this. * \sa intersection, clamp */
| 230 | /** \returns true if the box \a b is intersecting the box \c *this. |
| 231 | * \sa intersection, clamp */ |
| 232 | EIGEN_DEVICE_FUNC inline bool intersects(const AlignedBox& b) const |
| 233 | { return (m_min.array()<=(b.max)().array()).all() && ((b.min)().array()<=m_max.array()).all(); } |
| 234 | |
| 235 | /** Extends \c *this such that it contains the point \a p and returns a reference to \c *this. |
| 236 | * \sa extend(const AlignedBox&) */ |