vtf-logo

Point: Length Functions


Functions

template<int N, typename T>
geom::computeSquaredMagnitude (const ads::FixedArray< N, T > &x)
 Return the squared magnitude of this vector.
template<int N, typename T>
geom::computeMagnitude (const ads::FixedArray< N, T > &x)
 Return the magnitude of this vector.
template<int N, typename T>
void geom::normalize (ads::FixedArray< N, T > *x)
 Normalize this vector so it has unit length.

Generated on Fri Aug 24 12:56:00 2007 for Computational Geometry Package by  doxygen 1.4.7