LunarIllumination

class LunarIllumination(val fraction: Double, val phase: Double, val illuminationAngle: Double)

Calculates the illumination of the moon.

Constructors

Link copied to clipboard
constructor(fraction: Double, phase: Double, illuminationAngle: Double)

Properties

Link copied to clipboard
Link copied to clipboard

Illuminated fraction. 0.0 indicates new moon, 1.0 indicates full moon.

Link copied to clipboard

The angle of the moon illumination relative to earth. The moon is waxing if the angle is negative, and waning if positive.

Link copied to clipboard

Moon phase. Starts at 0.0 (new moon, waxing), passes 180.0 (full moon) and moves toward 360.0 (waning, new moon).