Home | History | Annotate | Download | only in Geometry

Lines Matching refs:m_min

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) {}
53 inline int dim() const { return AmbientDimAtCompileTime==Dynamic ? m_min.size()-1 : AmbientDimAtCompileTime; }
56 inline bool isNull() const { return (m_min.cwise() > m_max).any(); }
61 m_min.setConstant( (std::numeric_limits<Scalar>::max)());
66 inline const VectorType& (min)() const { return m_min; }
68 inline VectorType& (min)() { return m_min; }
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; }
128 m_min = (other.min)().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;
151 if ((aux = (p[k]-m_min[k]))<Scalar(0))