10 #ifndef EIGEN_TRANSLATION_H    11 #define EIGEN_TRANSLATION_H    29 template<
typename _Scalar, 
int _Dim>
    63   inline Translation(
const Scalar& sx, 
const Scalar& sy, 
const Scalar& sz)
    74   inline Scalar 
x()
 const { 
return m_coeffs.x(); }
    76   inline Scalar 
y()
 const { 
return m_coeffs.y(); }
    78   inline Scalar 
z()
 const { 
return m_coeffs.z(); }
    81   inline Scalar& 
x() { 
return m_coeffs.x(); }
    83   inline Scalar& 
y() { 
return m_coeffs.y(); }
    85   inline Scalar& 
z() { 
return m_coeffs.z(); }
   101   template<
typename OtherDerived>
   105   template<
typename Derived>
   111   template<
typename OtherDerived> 
friend   114     AffineTransformType res;
   124   template<
int Mode, 
int Options>
   133   inline VectorType 
operator* (
const VectorType& other)
 const   134   { 
return m_coeffs + other; }
   141     m_coeffs = other.m_coeffs;
   152   template<
typename NewScalarType>
   157   template<
typename OtherScalarType>
   159   { m_coeffs = other.vector().template cast<Scalar>(); }
   166   { 
return m_coeffs.isApprox(other.m_coeffs, prec); }
   178 template<
typename Scalar, 
int Dim>
   182   AffineTransformType res;
   190 template<
typename Scalar, 
int Dim>
   191 template<
typename OtherDerived>
   195   AffineTransformType res;
   206 #endif // EIGEN_TRANSLATION_H 
Translation(const Scalar &sx, const Scalar &sy, const Scalar &sz)
bool isApprox(const Translation &other, typename NumTraits< Scalar >::Real prec=NumTraits< Scalar >::dummy_precision()) const 
Scalar & z()
Retruns the z-translation as a reference. 
const VectorType & vector() const 
Translation< float, 3 > Translation3f
Translation & operator=(const Translation &other)
Matrix< Scalar, Dim, Dim > LinearMatrixType
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
Translation inverse() const 
const VectorType & translation() const 
Translation(const Scalar &sx, const Scalar &sy)
Scalar & y()
Retruns the y-translation as a reference. 
static const Translation Identity()
VectorType & translation()
Represents a translation transformation. 
Scalar x() const 
Retruns the x-translation by value. 
Translation< float, 2 > Translation2f
Scalar y() const 
Retruns the y-translation by value. 
Translation(const Translation< OtherScalarType, Dim > &other)
Transform< Scalar, Dim, Affine > AffineTransformType
Common base class for compact rotation representations. 
Derived & setZero(Index size)
Transform< Scalar, Dim, Isometry > IsometryTransformType
Scalar & x()
Retruns the x-translation as a reference. 
Translation operator*(const Translation &other) const 
IsometryTransformType operator*(const RotationBase< Derived, Dim > &r) const 
Translation< double, 2 > Translation2d
Scalar z() const 
Retruns the z-translation by value. 
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Size)
Translation< double, 3 > Translation3d
Matrix< Scalar, Dim, 1 > VectorType
friend AffineTransformType operator*(const EigenBase< OtherDerived > &linear, const Translation &t)
Translation(const VectorType &vector)
internal::cast_return_type< Translation, Translation< NewScalarType, Dim > >::type cast() const