Logo Search packages:      
Sourcecode: eigen3 version File versions  Download package

template<typename Scalar >
template<int Dim>
Transform< Scalar, Dim, Affine > UniformScaling< Scalar >::operator* ( const Translation< Scalar, Dim > &  t ) const [inline]

Concatenates a uniform scaling and a translation

Definition at line 162 of file Scaling.h.

References Transform< _Scalar, _Dim >::linear(), Transform< _Scalar, _Dim >::matrix(), and Transform< _Scalar, _Dim >::translation().

  Transform<Scalar,Dim,Affine> res;
  res.translation() = factor() * t.vector();
  res(Dim,Dim) = Scalar(1);
  return res;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index