OEGeom2DDistance2

template<class T>
double OEGeom2DDistance2(const T *p, const T *q)

Determines the squared distance in two dimensions between p and q. When it is possible to use the square of the distance, this is more efficient than using OEGeom2DDistance.

p

First two dimensional input array.

q

Second two dimensional input array.