MCPcopy Create free account
hub / github.com/TinyMPC/TinyMPC / intersects

Method intersects

include/Eigen/Eigen/src/Geometry/AlignedBox.h:232–233  ·  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

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&) */

Callers

nothing calls this directly

Calls 2

allMethod · 0.45
arrayMethod · 0.45

Tested by

no test coverage detected