Skip to content

sun_position_eci

Defined in: ephemeris.rs:136

fn sun_position_eci(epoch: &[Epoch<Tdb>](../../structs/epoch/)) -> [Vec3<frame::Gcrs>](../../structs/vec3/)

Sun position vector in ECI (J2000) frame [km].

Returns the geocentric position of the Sun. Combines direction and distance.