/*****************************************************************************************************************/ /*****************************************************************************************************************/ import { type EquatorialCoordinate, type GeographicCoordinate, type HorizontalCoordinate } from './common'; /*****************************************************************************************************************/ /** * * getEarthLimbAngularRadius() * * Calculates the angular radius of the Earth (in degrees) as seen by an observer at a given * elevation, e.g., the half-angle of the cone, centered on the nadir of the observer, which the * Earth occults. A target within that cone of the nadir is behind the Earth, and so the angular * radius is to an observer above the atmosphere what the horizon is to an observer beneath it. * * An observer that must not look through the upper atmosphere avoids a larger cone, and so the * limb may be raised by a grazing height, e.g., the height of the atmospheric shell to clear. * * N.B. The Earth is modelled as a sphere of the radius given, and so an observer that resolves the * oblateness of the Earth passes the radius local to the point the limb is grazed. * * @param elevation - The elevation of the observer above the surface (in SI metres). * @param grazing - The height of the atmospheric shell to clear above the surface (in SI metres). * @param radius - The radius of the Earth (in SI metres). * @returns The angular radius of the Earth for the observer (in degrees). * */ export declare function getEarthLimbAngularRadius(elevation: number, grazing?: number, radius?: number): number; /*****************************************************************************************************************/ /** * * isBodyOccultedByEarth() * * Determines whether a target is behind the Earth for an observer at the time of observation, e.g., * whether it lies within the cone the Earth occults, centered on the nadir of the observer. * * The nadir of an observer is at an altitude of -90°, and so a target is within that cone when its * altitude is below the angular radius of the limb, less the 90° from the nadir to the horizontal. * An observer that must not look through the upper atmosphere occults a larger cone, e.g., the limb * is raised by the grazing height of the shell they are to clear. * * @param datetime - The date and time of the observation. * @param observer - The geographic coordinate of the observer. * @param target - The equatorial or horizontal coordinate of the observed object. * @param grazing - The height of the atmospheric shell to clear above the surface (in SI metres). * @param radius - The radius of the Earth (in SI metres). * @returns a boolean indicating whether the target is occulted by the Earth for the observer. * */ export declare function isBodyOccultedByEarth(datetime: Date, observer: GeographicCoordinate, target: EquatorialCoordinate | HorizontalCoordinate, grazing?: number, radius?: number): boolean; /*****************************************************************************************************************/