setToPoints

fun setToPoints(array: FloatArray, count: Int, stride: Int): BoundingBox

Sets this bounding box such that it minimally encloses a specified array of points.

Return

This bounding box set to contain the specified array of points.

Parameters

array

the array of points to consider

count

the number of array elements to consider

stride

the number of coordinates between the first coordinate of adjacent points - must be at least 3