[name]

todo

Constructor

[name]([page:todo center], [page:todo radius])

center -- todo
radius -- todo
todo

Properties

.[page:number radius]

todo

.[page:Vector3 center]

todo

Methods

.set([page:todo center], [page:todo radius]) [page:todo]

center -- todo
radius -- todo
todo

.applyMatrix4([page:todo matrix]) [page:todo]

matrix -- todo
todo

.clampPoint([page:todo point], [page:todo optionalTarget]) [page:todo]

point -- todo
optionalTarget -- todo
todo

.translate([page:todo offset]) [page:todo]

offset -- todo
todo

.clone() [page:todo]

todo

.equals([page:todo sphere]) [page:todo]

sphere -- todo
todo

.setFromPoints([page:todo points], [page:Vector3 optionalCenter]) [page:todo]

points -- list of [page:Vector3 vector] positions.
optionalCenter -- optional position for the sphere's center.
Computes the minimum bounding sphere for *points*. If *optionalCenter* is given, it is used as the sphere's center. Otherwise, the center of the axis-aligned bounding box encompassing *points* is calculated.

.distanceToPoint([page:todo point]) [page:todo]

point -- todo
todo

.getBoundingBox([page:todo optionalTarget]) [page:todo]

optionalTarget -- todo
todo

.containsPoint([page:todo point]) [page:todo]

point -- todo
todo

.copy([page:todo sphere]) [page:todo]

sphere -- todo
todo

.intersectsSphere([page:todo sphere]) [page:todo]

sphere -- todo
todo

.empty() [page:todo]

todo

Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]