Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: F - L
> LOC_SPHERICAL
LOC_SPHERICAL
Returns Cartesian coordinates (x, y, z) that are equivalent to spherical coordinates (
,
,
). In this case:
■
x =
sin
cos
■
y =
sin
sin
■
z =
cos
Format
LOC_SPHERICAL (Rho, Theta, Phi)
Arguments
Rho
The radius of the sphere.
Theta
Counterclockwise rotation about y
Phi
Counterclockwise rotation about z
Example
The following example illustrates the use of the LOC_SPHERICAL function:
Function
LOC_SPHERICAL(10, 8D, 90D)
Result
9.9, 1.39, 0
Learn more about location/orientation functions
.
This site works best with JavaScript enabled