Lines Matching refs:m_max
41 inline explicit AlignedBox(int _dim) : m_min(_dim), m_max(_dim)
45 inline AlignedBox(const VectorType& _min, const VectorType& _max) : m_min(_min), m_max(_max) {}
48 inline explicit AlignedBox(const VectorType& p) : m_min(p), m_max(p) {}
56 inline bool isNull() const { return (m_min.cwise() > m_max).any(); }
62 m_max.setConstant(-(std::numeric_limits<Scalar>::max)());
70 inline const VectorType& (max)() const { return m_max; }
72 inline VectorType& (max)() { return m_max; }
76 { return (m_min.cwise()<=p).all() && (p.cwise()<=m_max).all(); }
80 { return (m_min.cwise()<=(b.min)()).all() && ((b.max)().cwise()<=m_max).all(); }
84 { m_min = (m_min.cwise().min)(p); m_max = (m_max.cwise().max)(p); return *this; }
88 { m_min = (m_min.cwise().min)(b.m_min); m_max = (m_max.cwise().max)(b.m_max); return *this; }
92 { m_min = (m_min.cwise().max)(b.m_min); m_max = (m_max.cwise().min)(b.m_max); return *this; }
96 { m_min += t; m_max += t; return *this; }
129 m_max = (other.max)().template cast<Scalar>();
137 { return m_min.isApprox(other.m_min, prec) && m_max.isApprox(other.m_max, prec); }
141 VectorType m_min, m_max;
153 else if ( (aux = (m_max[k]-p[k]))<Scalar(0))