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

template<typename _Scalar, int _AmbientDim>
Hyperplane< _Scalar, _AmbientDim >::Hyperplane ( const VectorType n,
const VectorType e 
) [inline]

Construct a plane from its normal n and a point e onto the plane.

the vector normal is assumed to be normalized.

Definition at line 70 of file Hyperplane.h.

References MatrixBase< Derived >::dot(), Hyperplane< _Scalar, _AmbientDim >::normal(), and Hyperplane< _Scalar, _AmbientDim >::offset().

    : m_coeffs(n.size()+1)
    normal() = n;
    offset() = -e.dot(n);

Generated by  Doxygen 1.6.0   Back to index