- positions
- positions in x, y, z triples
- positionsOffset
- offset into positions array
- positionsCount
- number of position triples to process
- sphere
- array containing the output as (x, y, z, r)
- sphereOffset
- offset where the sphere data will be written
Type Reason Java.Lang.IllegalArgumentException if positions is null, positionsOffset positions.length - positionsCount, sphere is null, sphereOffset sphere.length - 4.
Compute a bounding sphere for a set of points. It is approximately the minimal bounding sphere of an axis-aligned box that bounds the points.