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