Documentation / @interstellar-tools/types / EllipsoidInterface
Interface: EllipsoidInterface
Defined in: cartography.ts:69
A body's reference ellipsoid: the smooth surface that latitudes, longitudes and heights are measured on.
Most planets and large moons are close to an oblate spheroid, flattened at the poles: equatorialRadius and polarRadius describe it. A few moons are stretched towards their planet too, a triaxial ellipsoid: equatorialRadius is then the radius towards the planet, and alongOrbitRadius the equatorial radius along the orbit.
INFO
- For the giant planets, the radii are at the 1-bar pressure level.
- Get the flattening and eccentricity from the radii with
flatteningOblateSpheroidandeccentricitySquaredOblateSpheroidin@interstellar-tools/equations.
Example
const mars: EllipsoidInterface = {
equatorialRadius: { value: 3396.19, unit: 'km' },
polarRadius: { value: 3376.2, unit: 'km' }
};Properties
alongOrbitRadius?
alongOrbitRadius?: DistanceInterface;Defined in: cartography.ts:75
Equatorial radius equatorialRadius.
equatorialRadius
equatorialRadius: DistanceInterface;Defined in: cartography.ts:71
Equatorial radius
polarRadius
polarRadius: DistanceInterface;Defined in: cartography.ts:73
Polar radius