orthoproj< T, V, IP, Dim > Class Template Reference
#include <mathlib.h>
List of all members.
|
Public Member Functions |
| void | operator() (V const &c) |
Public Attributes |
| T | a [Dim] |
| V | v [Dim] |
| IP | p |
Detailed Description
template<typename T, typename V, typename IP, uint Dim>
class orthoproj< T, V, IP, Dim >
Definition at line 260 of file mathlib.h.
Member Function Documentation
template<typename T , typename V , typename IP , uint Dim>
| void orthoproj< T, V, IP, Dim >::operator() |
( |
V const & |
c |
) |
[inline] |
Definition at line 744 of file mathlib.h.
References orthoproj< T, V, IP, Dim >::p, and orthoproj< T, V, IP, Dim >::v.
00745 {
00746 T t;
00747 for (uint i=0; i<Dim; ++i)
00748 {
00749 p(a[i],c,v[i]);
00750 p(t,v[i],v[i]);
00751 a[i] /= t;
00752 }
00753 }
Member Data Documentation
template<typename T , typename V , typename IP , uint Dim>
template<typename T , typename V , typename IP , uint Dim>
template<typename T , typename V , typename IP , uint Dim>
The documentation for this class was generated from the following file: