MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / intersects

Method intersects

include/Eigen/src/Geometry/AlignedBox.h:240–242  ·  view source on GitHub ↗

\returns true if the box \a b is intersecting the box \c *this. * \sa intersection, clamp */

Source from the content-addressed store, hash-verified

238 /** \returns true if the box \a b is intersecting the box \c *this.
239 * \sa intersection, clamp */
240 EIGEN_DEVICE_FUNC inline bool intersects(const AlignedBox& b) const {
241 return (m_min.array() <= (b.max)().array()).all() && ((b.min)().array() <= m_max.array()).all();
242 }
243
244 /** Extends \c *this such that it contains the point \a p and returns a reference to \c *this.
245 * \sa extend(const AlignedBox&) */

Calls 2

allMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected