Point: Distance Functions

Functions

template<int N, typename T >
computeSquaredDistance (const ads::FixedArray< N, T > &p, const ads::FixedArray< N, T > &q)
 Return the squared distance between two points.

Detailed Description


Function Documentation

template<int N, typename T >
T computeSquaredDistance ( const ads::FixedArray< N, T > &  p,
const ads::FixedArray< N, T > &  q 
) [inline]

Return the squared distance between two points.

This function has specializations for 1, 2 and 3-D.

Referenced by Ball< N, T >::isInside().

Generated on Thu Jun 30 02:14:58 2016 for Computational Geometry Package by  doxygen 1.6.3