Gravity Engine 12.0
Unity Asset for Gravity
Loading...
Searching...
No Matches
SolarUtils Class Reference

Solar utils. Utility functions for determining planet/comet positions. More...

Static Public Member Functions

static double JulianDate (int year, int month, int day, double utime)
 
static float GetPeriodYears (SolarBody sbody)
 Gets the period of a solar body around the Sun in Years.
 
static System.DateTime DateForEpoch (float epoch)
 
static float DateTimeToEpoch (System.DateTime datetime)
 
static float ConvertMJDtoAD (float mjd)
 
static double JDtoEpochYearDays (double jd)
 

Static Public Attributes

const double SEC_PER_DAY = 24 * 60 * 60
 
static int
 

Detailed Description

Solar utils. Utility functions for determining planet/comet positions.

Member Function Documentation

◆ GetPeriodYears()

static float SolarUtils.GetPeriodYears ( SolarBody  sbody)
static

Gets the period of a solar body around the Sun in Years.

Returns
The period.
Parameters
sbodySbody.

The documentation for this class was generated from the following file: