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

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

Constructs a plane from its normal n and distance to the origin d such that the algebraic equation of the plane is $ n \cdot x + d = 0 $.

the vector normal is assumed to be normalized.

Definition at line 91 of file Hyperplane.h.

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

    : m_coeffs(n.size()+1)
    normal() = n;
    offset() = d;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index