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

template<typename _Scalar, int _AmbientDim>
VectorType Hyperplane< _Scalar, _AmbientDim >::projection ( const VectorType p) const [inline]
Returns:
the projection of a point p onto the plane *this.

Definition at line 155 of file Hyperplane.h.

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

{ return p - signedDistance(p) * normal(); }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index