Expand description
Sphere shape.
Structs§
- Sphere
- A sphere defined by its radius.
Functions§
- minimum_
enclosing_ sphere - Minimum enclosing sphere using Welzl’s algorithm (randomised).
- random_
points_ on_ sphere - Generate
nuniformly distributed random points on the unit sphere surface. Uses rejection sampling.seedis an LCG seed. - sphere_
obb_ penetration - Sphere-OBB penetration depth.
- sphere_
sphere_ intersection_ volume - Sphere-sphere intersection volume (lens volume).
- spherical_
harmonic - Compute real spherical harmonics coefficient Y_l^m(theta, phi). Only l = 0, 1, 2 implemented.