Documentation / @interstellar-tools/equations / planetographicLatitudeOblate
Function: planetographicLatitudeOblate()
ts
function planetographicLatitudeOblate(
x: number,
y: number,
z: number,
a: number,
c: number
): Radians;Defined in: cartography/planetographic-latitude-oblate.ts:21
Compute planetographic latitude (oblate spheroid) from body-fixed Cartesian coordinates.
Given:
This returns:
Parameters
| Parameter | Type | Description |
|---|---|---|
x | number | X coordinate (finite) |
y | number | Y coordinate (finite) |
z | number | Z coordinate (finite) |
a | number | Equatorial radius (finite, > 0) |
c | number | Polar radius (finite, > 0) |
Returns
Planetographic latitude φg in radians (range: [-π/2, π/2])