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