Skip to main content

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

ParamTypeDescription
aArray.<number> | Float32Array | Float64Array
bArray.<number> | Float32Array | Float64Array
dnumbernumber 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

ParamType
resultArray.<number> | Float32Array | Float64Array
dataArray.<number> | Float32Array | Float64Array
offsetnumber
countnumber
dimensionsnumber