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.
- First two dimensional input array.
- Second two dimensional input array.