computeBoundingSphereOfSpheres
Functions
-
compute_point_distance(a, b, d) ⇒
number - computeBoundingSphereOfSpheres(result, data, offset, count, dimensions)
Computes bounding sphere of a number of spheres NOTE: implementation does not produce a very tight sphere, here is a good resource for a better implementation: https://github.com/CGAL/cgal/blob/master/Bounding_volumes/include/CGAL/Min_sphere_of_spheres_d/Min_sphere_of_spheres_d_support_set.h
compute_point_distance(a, b, d) ⇒ number
Kind: global function
| Param | Type | Description |
|---|---|---|
| a | Array.<number> | Float32Array | Float64Array | |
| b | Array.<number> | Float32Array | Float64Array | |
| d | number | number of dimensions |
computeBoundingSphereOfSpheres(result, data, offset, count, dimensions)
Computes bounding sphere of a number of spheres NOTE: implementation does not produce a very tight sphere, here is a good resource for a better implementation: https://github.com/CGAL/cgal/blob/master/Bounding_volumes/include/CGAL/Min_sphere_of_spheres_d/Min_sphere_of_spheres_d_support_set.h
Kind: global function
| Param | Type |
|---|---|
| result | Array.<number> | Float32Array | Float64Array |
| data | Array.<number> | Float32Array | Float64Array |
| offset | number |
| count | number |
| dimensions | number |