MLPOINTCLOUDUTILS_EXPORT double largestDistanceSquaredFromSortedPoints(const std::vector< Vector2 > &points, Vector2 &point0, Vector2 &point1)
Calculates the largest distance (squared) between any of the given points.
MLPOINTCLOUDUTILS_EXPORT double largestDistanceSquared(const std::vector< Vector2 > &points, Vector2 &point0, Vector2 &point1)
Calculates the largest distance (squared) between any of the given points.