Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Calculates the geographic location corresponding to an equatorial vector.

      This is the inverse function of ObserverVector. Given a geocentric equatorial vector, it returns the geographic latitude, longitude, and elevation for that vector.

      Parameters

      • vector: Vector

        The geocentric equatorial position vector for which to find geographic coordinates. The components are expressed in Astronomical Units (AU). You can calculate AU by dividing kilometers by the constant KM_PER_AU. The time vector.t determines the Earth's rotation.

      • ofdate: boolean

        Selects the date of the Earth's equator in which vector is expressed. The caller may select false to use the orientation of the Earth's equator at noon UTC on January 1, 2000, in which case this function corrects for precession and nutation of the Earth as it was at the moment specified by vector.t. Or the caller may select true to use the Earth's equator at vector.t as the orientation.

      Returns Observer

      The geographic latitude, longitude, and elevation above sea level that corresponds to the given equatorial vector.