OEGeom3DDistance2ΒΆ
template<class T, class U>
double OEGeom3DDistance2(const T *p, const U *q)
Returns the square of the Euclidean distance between the two cartesian points, p and q. When it is possible to use the square of the distance, this is more efficient than using OEGeom3DDistance.