Home | History | Annotate | Download | only in Geometry

Lines Matching refs:m_max

63   inline explicit AlignedBox(Index _dim) : m_min(_dim), m_max(_dim)
68 inline AlignedBox(const OtherVectorType1& _min, const OtherVectorType2& _max) : m_min(_min), m_max(_max) {}
76 m_max = p;
91 inline bool isEmpty() const { return (m_min.array() > m_max.array()).any(); }
97 m_max.setConstant( ScalarTraits::lowest() );
105 inline const VectorType& (max)() const { return m_max; }
107 inline VectorType& (max)() { return m_max; }
113 { return (m_min+m_max)/2; }
120 { return m_max - m_min; }
151 if( mult & corner ) res[d] = m_max[d];
167 r[d] = m_min[d] + (m_max[d]-m_min[d])
171 r[d] = internal::random(m_min[d], m_max[d]);
181 return (m_min.array()<=p.array()).all() && (p.array()<=m_max.array()).all();
186 { return (m_min.array()<=(b.min)().array()).all() && ((b.max)().array()<=m_max.array()).all(); }
194 m_max = m_max.cwiseMax(p);
202 m_max = m_max.cwiseMax(b.m_max);
210 m_max = m_max.cwiseMin(b.m_max);
216 {return AlignedBox(m_min.cwiseMax(b.m_min), m_max.cwiseMin(b.m_max)); }
220 { return AlignedBox(m_min.cwiseMin(b.m_min), m_max.cwiseMax(b.m_max)); }
228 m_max += t;
278 m_max = (other.max)().template cast<Scalar>();
286 { return m_min.isApprox(other.m_min, prec) && m_max.isApprox(other.m_max, prec); }
290 VectorType m_min, m_max;
309 else if( p[k] > m_max[k] )
311 aux = p[k] - m_max[k];
325 if( m_min[k] > b.m_max[k] )
327 aux = m_min[k] - b.m_max[k];
330 else if( b.m_min[k] > m_max[k] )
332 aux = b.m_min[k] - m_max[k];