:orphan: .. **************************************************************************** .. CUI .. .. The Advanced Framework for Simulation, Integration, and Modeling (AFSIM) .. .. The use, dissemination or disclosure of data in this file is subject to .. limitation or restriction. See accompanying README and LICENSE for details. .. **************************************************************************** Moon ---- .. class:: Moon :class:`Moon` provides methods for the Earth's Moon's radius, directional vectors in WCS and ECI coordinates, and ECI location and velocity. Static Methods ============== .. method:: static double MEAN_RADIUS() Returns the Moon's mean (spherical) radius (1.7371e+6 m). .. method:: static double GRAVITATIONAL_PARAMETER() Return the Moon's gravitational parameter in SI units. .. method:: static double Phase(Calendar aCalendar) Get the phase of the Moon in degrees, where 0 is a new Moon, 180 is full, and the range is 0 - 360. .. method:: static double Illumination(Calendar aCalendar) Get the fraction of the Moon illuminated at the given date and time (0.0 - 1.0). .. method:: static Vec3 LocationECI(Calendar aCalendar) Return the :ref:`ECI` vector pointing to the Moon. .. method:: static Vec3 LocationWCS(Calendar aCalendar) Return the :ref:`WCS` vector pointing to the Moon. .. method:: static Array LocationRA_Dec(Calendar aCalendar) Return the right ascension and declination angles of the Moon. .. note:: The right ascension will be the first value of the returned Array; the declination will be the second value. .. method:: static Vec3 UnitVecECI(Calendar aCalendar) Return the :ref:`ECI` unit vector pointing to the Moon. .. method:: static Vec3 UnitVecWCS(Calendar aCalendar) Return the :ref:`WCS ` unit vector pointing to the Moon. .. method:: static Vec3 VelocityECI(Calendar aCalendar) Return the :ref:`ECI` velocity vector of the Moon. .. method:: static bool LineOfSight(Calendar aCalendar, Vec3 aLocationECI_1, Vec3 aLocationECI_2) Returns whether the :ref:`ECI` locations' line-of-sight with one another is blocked by the Moon.