Home | History | Annotate | Download | only in Geometry

Lines Matching defs:Scalar

20   * \param _Scalar the scalar type, i.e., the type of the coefficients.
35 /** the scalar type of the coefficients */
36 typedef _Scalar Scalar;
38 typedef Matrix<Scalar,Dim,1> VectorType;
40 typedef Matrix<Scalar,Dim,Dim> LinearMatrixType;
42 typedef Translation<Scalar,Dim> TranslationType;
44 typedef Transform<Scalar,Dim> TransformType;
55 explicit inline Scaling(const Scalar& s) { m_coeffs.setConstant(s); }
57 inline Scaling(const Scalar& sx, const Scalar& sy)
64 inline Scaling(const Scalar& sx, const Scalar& sy, const Scalar& sz)
115 /** \returns \c *this with scalar type casted to \a NewScalarType
117 * Note that if \a NewScalarType is equal to the current scalar type of \c *this
124 /** Copy constructor with scalar type conversion */
127 { m_coeffs = other.coeffs().template cast<Scalar>(); }
133 bool isApprox(const Scaling& other, typename NumTraits<Scalar>::Real prec = precision<Scalar>()) const
146 template<typename Scalar, int Dim>
147 inline typename Scaling<Scalar,Dim>::TransformType
148 Scaling<Scalar,Dim>::operator* (const TranslationType& t) const
154 res(Dim,Dim) = Scalar(1);
158 template<typename Scalar, int Dim>
159 inline typename Scaling<Scalar,Dim>::TransformType
160 Scaling<Scalar,Dim>::operator* (const TransformType& t) const