Gravity Engine  1.5
Unity Asset for Gravity
SolarUtils Class Reference

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

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

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: