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

template<typename _Scalar, int _AmbientDim>
Hyperplane& Hyperplane< _Scalar, _AmbientDim >::transform ( const Transform< Scalar, AmbientDimAtCompileTime > &  t,
TransformTraits  traits = Affine 
) [inline]

Applies the transformation t to *this and returns a reference to *this.

tthe transformation of dimension Dim
traitsspecifies whether the transformation t represents an Isometry or a more generic Affine transformation. The default is Affine. Other kind of transformations are not supported.

Definition at line 229 of file Hyperplane.h.

References Transform< _Scalar, _Dim >::linear(), Hyperplane< _Scalar, _AmbientDim >::normal(), Hyperplane< _Scalar, _AmbientDim >::offset(), Hyperplane< _Scalar, _AmbientDim >::transform(), and Transform< _Scalar, _Dim >::translation().

    transform(t.linear(), traits);
    offset() -= t.translation().eigen2_dot(normal());
    return *this;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index