Functions | |
template<int N, typename T> | |
T | geom::computeSquaredDistance (const ads::FixedArray< N, T > &p, const ads::FixedArray< N, T > &q) |
Return the squared distance between two points. |
T geom::computeSquaredDistance | ( | const ads::FixedArray< N, T > & | p, | |
const ads::FixedArray< N, T > & | q | |||
) |
Return the squared distance between two points.
This function has specializations for 1, 2 and 3-D.