Computes the maximum distance between any two points in given set of
points.
In a Cartesian system it will compute the Euclidean distance between all
point pairs. If one or more points are not finite in any given dimension,
that dimension will be ignored in the computations.
In spherical system it will compute the maximum arc length in meters
between any two points using the maximum radius of all given points. If you
are interested in computing the Euclidean distance between points in a
spherical system, first convert the points to a cartesian system and then
call this function.