of a point on the sphere
into its 3D position vector (x,y,z) with
,
,
.
| name & dimensionality | kind | in/out | description |
|---|---|---|---|
| theta | double | IN | colatitude in radians measured southward from north pole (in
[0, ]). |
| phi | double | IN | longitude in radians measured eastward (in [0, ]). |
| vector(3) | double | OUT | three dimensional cartesian position vector (x,y,z). The north pole is (0,0,1) |
Version 3.83, 2024-11-13