CelestialGet_Lunar_Coordinate(DateTime, Double) Method

Gets lunar coordinates based on UTC DateTime. Values are in degrees unless otherwise specified.

Definition

Namespace: CoordinateSharp
Assembly: CoordinateSharp (in CoordinateSharp.dll) Version: 2.21.1.1
XMLNS for XAML: Not mapped to an xmlns.
C#
public static LunarCoordinates Get_Lunar_Coordinate(
	DateTime date,
	double offset
)

Parameters

date  DateTime
UTC DateTime
offset  Double
UTC Offset in Hours

Return Value

LunarCoordinates
LunarCoordinates

Example

The following example returns the coordinates of the moon based on the provided Local DateTime and UTC Offset.
C#
var celC = Celestial.Get_Lunar_Coordinates(new DateTime(1992,4,12,7,0,0), 7);

//PROPERTY VALUES
//Longitude: 133.167197165444
//Latitude: -3.22898378016249
//RightAscension: 134.683729152193
//Declination: 13.7688377109201
//GeometricMeanLongitude: 134.29018141258
//SublunarLatitude: 13.7688377109201
//SublunarLongitude: -65.7643937981642

See Also