Projective geometry


Classes

class  MatrixP
 Matrix in projective geometry, fixed-size only. More...

Functions

template<typename T, int Size>
Vector< T, Size+1 > & affToProj (const Vector< T, Size > &vector, Vector< T, Size+1 > *ret)
template<typename T, int Size>
Vector< T, Size > & projToAff (const Vector< T, Size+1 > &vector, Vector< T, Size > *ret)

Detailed Description


Function Documentation

Vector<T, Size+1>& Eigen::affToProj ( const Vector< T, Size > &  vector,
Vector< T, Size+1 > *  ret 
) [inline]

Converts an "affine" vector into the equivalent "projective" vector. Thus, if the input affine vector is $(x_1,\ldots,x_n)$, then the output projective vector is $(x_1,\ldots,x_n,1)$.

See also:
projToAff()

Vector<T, Size>& Eigen::projToAff ( const Vector< T, Size+1 > &  vector,
Vector< T, Size > *  ret 
) [inline]

Converts a "projective" vector into the equivalent "affine" vector. Thus, if the input projective vector is $(x_1,\ldots,x_{n+1})$, then the output affine vector is

\[(\frac{x_1}{x_{n+1}},\ldots,\frac{x_n}{x_{n+1}}).\]

See also:
affToProj()


Generated on Tue Mar 18 15:26:20 2008 for Eigen by  doxygen 1.5.5