LunarIllumination

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

Calculates the illumination of the moon.

Constructors

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

Properties

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
Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String