Functions | |
template<int N, typename T > | |
T | computeSquaredDistance (const ads::FixedArray< N, T > &p, const ads::FixedArray< N, T > &q) |
Return the squared distance between two points. |
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().