template<class T> static double OEGeom2DDistance2(const T *p, const T *q)
Determine the squared distance in two dimensions between p and q.