- getRadius
getRadius returns the radius of the bounding sphere.
- <init>
Constructor instantiates a new BoundingSphere object.
- getCenter
- setCenter
- setRadius
setRadius sets the radius of this bounding sphere.
- averagePoints
averagePoints selects the sphere center to be the average of the points and the
sphere radius to be
- calcWelzl
Calculates a minimum bounding sphere for the set of points. The algorithm was
originally found in C+
- collideWithRay
- getMaxAxis
- merge
merge combines this sphere with a second bounding sphere. This new sphere
contains both bounding sph
- recurseMini
Used from calcWelzl. This function recurses to calculate a minimum bounding
sphere a few points at a
- setSphere
Calculates the minimum bounding sphere of 4 points. Used in welzl's algorithm.