Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
physics/objects/3d/sphere
Sphere
Class Sphere
https://github.com/mrdoob/three.js/blob/dev/src/math/Sphere.js
Hierarchy
Sphere
Implements
VolumeAble3D
CollideAble3D
Index
Constructors
constructor
Properties
center
radius
Accessors
volume
Methods
collide
With
Cylinder
collide
With
Min
Max
collide
With
Point
collide
With
Sphere
to
Min
Max
from
Points
Constructors
constructor
new
Sphere
(
center
:
Readonly
<
SimpleVector3
>
, radius
:
number
)
:
Sphere
Parameters
center:
Readonly
<
SimpleVector3
>
radius:
number
Returns
Sphere
Properties
Readonly
center
center
:
Readonly
<
SimpleVector3
>
Readonly
radius
radius
:
number
Accessors
volume
get
volume
(
)
:
number
Returns
number
Methods
collide
With
Cylinder
collide
With
Cylinder
(
cylinder
:
Cylinder
)
:
boolean
Parameters
cylinder:
Cylinder
Returns
boolean
collide
With
Min
Max
collide
With
Min
Max
(
minMax
:
MinMax3D
)
:
boolean
Parameters
minMax:
MinMax3D
Returns
boolean
collide
With
Point
collide
With
Point
(
point
:
Readonly
<
SimpleVector3
>
)
:
boolean
Parameters
point:
Readonly
<
SimpleVector3
>
Returns
boolean
collide
With
Sphere
collide
With
Sphere
(
sphere
:
Sphere
)
:
boolean
Parameters
sphere:
Sphere
Returns
boolean
to
Min
Max
to
Min
Max
(
)
:
MinMax3D
Returns
MinMax3D
Static
from
Points
from
Points
(
points
:
SimpleVector3
[]
, optionalCenter
?:
SimpleVector3
)
:
Sphere
Parameters
points:
SimpleVector3
[]
Optional
optionalCenter:
SimpleVector3
Returns
Sphere
Modules
physics/objects/3d/sphere
Sphere
constructor
center
radius
volume
collide
With
Cylinder
collide
With
Min
Max
collide
With
Point
collide
With
Sphere
to
Min
Max
from
Points
Generated using
TypeDoc
https://github.com/mrdoob/three.js/blob/dev/src/math/Sphere.js