Home | History | Annotate | Download | only in Geometry

Lines Matching refs:other

78   inline Scaling operator* (const Scaling& other) const
79 { return Scaling(coeffs().cwise() * other.coeffs()); }
89 inline LinearMatrixType operator* (const LinearMatrixType& other) const
90 { return coeffs().asDiagonal() * other; }
94 friend inline LinearMatrixType operator* (const LinearMatrixType& other, const Scaling& s)
95 { return other * s.coeffs().asDiagonal(); }
102 inline VectorType operator* (const VectorType& other) const
103 { return coeffs().asDiagonal() * other; }
109 inline Scaling& operator=(const Scaling& other)
111 m_coeffs = other.m_coeffs;
126 inline explicit Scaling(const Scaling<OtherScalarType,Dim>& other)
127 { m_coeffs = other.coeffs().template cast<Scalar>(); }
129 /** \returns \c true if \c *this is approximately equal to \a other, within the precision
133 bool isApprox(const Scaling& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
134 { return m_coeffs.isApprox(other.m_coeffs, prec); }