28 template<
typename _Scalar,
int _Dim>
62 inline Translation(
const Scalar& sx,
const Scalar& sy,
const Scalar& sz)
80 inline TransformType
operator* (
const ScalingType& other)
const;
83 inline TransformType
operator* (
const LinearMatrixType& linear)
const;
85 template<
typename Derived>
103 inline TransformType
operator* (
const TransformType& t)
const;
106 inline VectorType
operator* (
const VectorType& other)
const 107 {
return m_coeffs + other; }
114 m_coeffs = other.m_coeffs;
123 template<
typename NewScalarType>
128 template<
typename OtherScalarType>
130 { m_coeffs = other.vector().template cast<Scalar>(); }
137 {
return m_coeffs.isApprox(other.m_coeffs, prec); }
150 template<
typename Scalar,
int Dim>
162 template<
typename Scalar,
int Dim>
175 template<
typename Scalar,
int Dim>
179 TransformType res = t;
Translation(const Scalar &sx, const Scalar &sy, const Scalar &sz)
Represents a possibly non uniform scaling transformation.
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. ...
Transform< Scalar, Dim > TransformType
Translation inverse() const
Translation(const Scalar &sx, const Scalar &sy)
Represents a translation transformation.
const VectorType & coeffs() const
Translation< float, 2 > Translation2f
Translation(const Translation< OtherScalarType, Dim > &other)
Common base class for compact rotation representations.
TransformType operator*(const RotationBase< Derived, Dim > &r) const
Derived & setZero(Index size)
Translation operator*(const Translation &other) const
Translation< double, 2 > Translation2d
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Size)
Translation< double, 3 > Translation3d
Matrix< Scalar, Dim, 1 > VectorType
Translation(const VectorType &vector)
Scaling< Scalar, Dim > ScalingType
RotationMatrixType toRotationMatrix() const
internal::cast_return_type< Translation, Translation< NewScalarType, Dim > >::type cast() const
bool isApprox(const Translation &other, typename NumTraits< Scalar >::Real prec=precision< Scalar >()) const