maxDistanceBetweenPoints(points, pointsShape): number
From the input points, finds the two points with the maximum distance between them and returns this distance. Works with points of any dimension count.
points - Float32Array of size (point dimension count * point count). Points to find the max distance between.
pointsShape - Should be {point dimension count, point count, 1}
From the input points, finds the two points with the maximum distance between them and returns this distance. Works with points of any dimension count.
points
- Float32Array of size (point dimension count * point count). Points to find the max distance between.pointsShape
- Should be {point dimension count, point count, 1}