MoonCoordinates

delphimoon

Moon Coordinates

Algorithms

Top  Previous  Next

 

Calculates the horizontal and ecliptic coordinates of the moon.

 

procedure Moon_Position_Horizontal(date:TDateTime; refraction:boolean; latitude,longitude: extended; var elevation,azimuth: extended);

procedure Moon_Position_Ecliptic(date:TDateTime; var latitude,aongitude: extended);

procedure Moon_Position_Equatorial(date:TDateTime; var rektaszension,declination: extended);

 

Description

Calculates the coordinates of the moon at the given date and time for the three most important coordinate frames.

 

Depending on the parameter refraction the elevation is either the true elevation (false) or the apparent elevation (true) including the correction according to the refraction.

 

Attention

The interface of the horizontal function did change after Version 2.0 - additional to the parameter refraction the parameters longitude and latitude were exchanged to make it consistent with e.g. the moon rise functions.

 

Hint

The description of the coordinate transformation routines gives more detailed information on the coordinate frames like the definition of the signs and directions, or how to convert to other defnnitions.

 

Reference

These functions are based upon chapter 47 (45) of "Astronomical Algomrithms".