Medial Code Documentation
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes
Eigen::UniformScaling< _Scalar > Class Template Reference

Public Types

typedef _Scalar Scalar
 the scalar type of the coefficients
 

Public Member Functions

 UniformScaling ()
 Default constructor without initialization.
 
 UniformScaling (const Scalar &s)
 Constructs and initialize a uniform scaling transformation.
 
const Scalarfactor () const
 
Scalarfactor ()
 
UniformScaling operator* (const UniformScaling &other) const
 Concatenates two uniform scaling.
 
template<int Dim>
Transform< Scalar, Dim, Affineoperator* (const Translation< Scalar, Dim > &t) const
 Concatenates a uniform scaling and a translation.
 
template<int Dim, int Mode, int Options>
Transform< Scalar, Dim,(int(Mode)==int(Isometry)?Affine:Mode)> operator* (const Transform< Scalar, Dim, Mode, Options > &t) const
 Concatenates a uniform scaling and an affine transformation.
 
template<typename Derived >
internal::plain_matrix_type< Derived >::type operator* (const MatrixBase< Derived > &other) const
 Concatenates a uniform scaling and a linear transformation matrix.
 
template<typename Derived , int Dim>
Matrix< Scalar, Dim, Dim > operator* (const RotationBase< Derived, Dim > &r) const
 
UniformScaling inverse () const
 
template<typename NewScalarType >
UniformScaling< NewScalarType > cast () const
 
template<typename OtherScalarType >
 UniformScaling (const UniformScaling< OtherScalarType > &other)
 Copy constructor with scalar type conversion.
 
bool isApprox (const UniformScaling &other, const typename NumTraits< Scalar >::Real &prec=NumTraits< Scalar >::dummy_precision()) const
 

Protected Attributes

Scalar m_factor
 

Member Function Documentation

◆ cast()

template<typename _Scalar >
template<typename NewScalarType >
UniformScaling< NewScalarType > Eigen::UniformScaling< _Scalar >::cast ( ) const
inline
Returns
*this with scalar type casted to NewScalarType

Note that if NewScalarType is equal to the current scalar type of *this then this function smartly returns a const reference to *this.

◆ inverse()

template<typename _Scalar >
UniformScaling Eigen::UniformScaling< _Scalar >::inverse ( ) const
inline
Returns
the inverse scaling

◆ isApprox()

template<typename _Scalar >
bool Eigen::UniformScaling< _Scalar >::isApprox ( const UniformScaling< _Scalar > &  other,
const typename NumTraits< Scalar >::Real &  prec = NumTraits<Scalar>::dummy_precision() 
) const
inline
Returns
true if *this is approximately equal to other, within the precision determined by prec.
See also
MatrixBase::isApprox()

The documentation for this class was generated from the following files: