template<class T> static void OEGeom2DNormalize(T *x)
Normalize the two dimensional vector x to a unit vector.