Selva Compute API Reference - v1.1.2
Preparing search index...
visualization
<internal>
Spherical
Class Spherical
Index
Constructors
constructor
Properties
phi
radius
theta
Methods
clone
copy
make
Safe
set
set
From
Cartesian
Coords
set
From
Vector3
Constructors
constructor
new
Spherical
(
radius
?:
number
,
phi
?:
number
,
theta
?:
number
)
:
Spherical
Parameters
Optional
radius
:
number
Optional
phi
:
number
Optional
theta
:
number
Returns
Spherical
Properties
phi
phi
:
number
Default
0
Copy
radius
radius
:
number
Default
1
Copy
theta
theta
:
number
Default
0
Copy
Methods
clone
clone
()
:
this
Returns
this
copy
copy
(
other
:
Spherical
)
:
this
Parameters
other
:
Spherical
Returns
this
make
Safe
makeSafe
()
:
this
Returns
this
set
set
(
radius
:
number
,
phi
:
number
,
theta
:
number
)
:
this
Parameters
radius
:
number
phi
:
number
theta
:
number
Returns
this
set
From
Cartesian
Coords
setFromCartesianCoords
(
x
:
number
,
y
:
number
,
z
:
number
)
:
this
Parameters
x
:
number
y
:
number
z
:
number
Returns
this
set
From
Vector3
setFromVector3
(
v
:
Vector3
)
:
this
Parameters
v
:
Vector3
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
phi
radius
theta
Methods
clone
copy
make
Safe
set
set
From
Cartesian
Coords
set
From
Vector3
Selva Compute API Reference - v1.1.2
Loading...
Default