//[astronomy](../../index.md)/[io.github.cosinekitty.astronomy](index.md)
# Package io.github.cosinekitty.astronomy
## Types
| Name | Summary |
|---|---|
| [Aberration](-aberration/index.md)
enum [Aberration](-aberration/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Aberration](-aberration/index.md)>
Aberration calculation options. |
| [ApsisInfo](-apsis-info/index.md)
class [ApsisInfo](-apsis-info/index.md)(time: [Time](-time/index.md), kind: [ApsisKind](-apsis-kind/index.md), distanceAu: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
An apsis event: pericenter (closest approach) or apocenter (farthest distance). |
| [ApsisKind](-apsis-kind/index.md)
enum [ApsisKind](-apsis-kind/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[ApsisKind](-apsis-kind/index.md)>
The type of apsis: pericenter (closest approach) or apocenter (farthest distance). |
| [AtmosphereInfo](-atmosphere-info/index.md)
class [AtmosphereInfo](-atmosphere-info/index.md)(pressure: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), temperature: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), density: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Information about idealized atmospheric variables at a given elevation. |
| [AxisInfo](-axis-info/index.md)
class [AxisInfo](-axis-info/index.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), spin: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), north: [Vector](-vector/index.md))
Information about a body's rotation axis at a given time. |
| [Body](-body/index.md)
enum [Body](-body/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Body](-body/index.md)>
The enumeration of celestial bodies supported by Astronomy Engine. |
| [ConstellationInfo](-constellation-info/index.md)
class [ConstellationInfo](-constellation-info/index.md)(symbol: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), name: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), ra1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec1875: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Reports the constellation that a given celestial point lies within. |
| [DateTime](-date-time/index.md)
class [DateTime](-date-time/index.md)(year: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), month: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), day: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), hour: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), minute: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), second: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
A universal time resolved into UTC calendar date and time fields. |
| [Direction](-direction/index.md)
enum [Direction](-direction/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Direction](-direction/index.md)>
Selects whether to search for a rising event or a setting event for a celestial body. |
| [EarthNotAllowedException](-earth-not-allowed-exception/index.md)
class [EarthNotAllowedException](-earth-not-allowed-exception/index.md) : [Exception](https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html)
The Earth is not allowed as the body parameter. |
| [EclipseEvent](-eclipse-event/index.md)
class [EclipseEvent](-eclipse-event/index.md)(time: [Time](-time/index.md), altitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Holds a time and the observed altitude of the Sun at that time. |
| [EclipseKind](-eclipse-kind/index.md)
enum [EclipseKind](-eclipse-kind/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[EclipseKind](-eclipse-kind/index.md)>
The different kinds of lunar/solar eclipses. |
| [Ecliptic](-ecliptic/index.md)
data class [Ecliptic](-ecliptic/index.md)(vec: [Vector](-vector/index.md), elat: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), elon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Ecliptic angular and Cartesian coordinates. |
| [ElongationInfo](-elongation-info/index.md)
class [ElongationInfo](-elongation-info/index.md)(time: [Time](-time/index.md), visibility: [Visibility](-visibility/index.md), elongation: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), eclipticSeparation: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Contains information about the visibility of a celestial body at a given date and time. |
| [EquatorEpoch](-equator-epoch/index.md)
enum [EquatorEpoch](-equator-epoch/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[EquatorEpoch](-equator-epoch/index.md)>
Selects the date for which the Earth's equator is to be used for representing equatorial coordinates. |
| [Equatorial](-equatorial/index.md)
class [Equatorial](-equatorial/index.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dist: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vec: [Vector](-vector/index.md))
Equatorial angular and cartesian coordinates. |
| [GlobalSolarEclipseInfo](-global-solar-eclipse-info/index.md)
class [GlobalSolarEclipseInfo](-global-solar-eclipse-info/index.md)(kind: [EclipseKind](-eclipse-kind/index.md), obscuration: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), peak: [Time](-time/index.md), distance: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), latitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), longitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Reports the time and geographic location of the peak of a solar eclipse. |
| [GravitySimulator](-gravity-simulator/index.md)
class [GravitySimulator](-gravity-simulator/index.md)
A simulation of zero or more small bodies moving through the Solar System. |
| [HourAngleInfo](-hour-angle-info/index.md)
class [HourAngleInfo](-hour-angle-info/index.md)(time: [Time](-time/index.md), hor: [Topocentric](-topocentric/index.md))
Information about a celestial body crossing a specific hour angle. |
| [IlluminationInfo](-illumination-info/index.md)
class [IlluminationInfo](-illumination-info/index.md)(time: [Time](-time/index.md), mag: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), phaseAngle: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), phaseFraction: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), helioDist: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), ringTilt: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Information about the brightness and illuminated shape of a celestial body. |
| [InternalError](-internal-error/index.md)
class [InternalError](-internal-error/index.md)(message: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)) : [Exception](https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html)
An unexpected internal error occurred in Astronomy Engine |
| [InvalidBodyException](-invalid-body-exception/index.md)
class [InvalidBodyException](-invalid-body-exception/index.md)(body: [Body](-body/index.md)) : [Exception](https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html)
An invalid body was specified for the given function. |
| [JupiterMoonsInfo](-jupiter-moons-info/index.md)
class [JupiterMoonsInfo](-jupiter-moons-info/index.md)(io: [StateVector](-state-vector/index.md), europa: [StateVector](-state-vector/index.md), ganymede: [StateVector](-state-vector/index.md), callisto: [StateVector](-state-vector/index.md))
Holds the positions and velocities of Jupiter's major 4 moons. |
| [LibrationInfo](-libration-info/index.md)
data class [LibrationInfo](-libration-info/index.md)(elat: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), elon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), mlat: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), mlon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), distanceKm: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), diamDeg: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Lunar libration angles, returned by [libration](libration.md). |
| [LocalSolarEclipseInfo](-local-solar-eclipse-info/index.md)
class [LocalSolarEclipseInfo](-local-solar-eclipse-info/index.md)(kind: [EclipseKind](-eclipse-kind/index.md), obscuration: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), partialBegin: [EclipseEvent](-eclipse-event/index.md), totalBegin: [EclipseEvent](-eclipse-event/index.md)?, peak: [EclipseEvent](-eclipse-event/index.md), totalEnd: [EclipseEvent](-eclipse-event/index.md)?, partialEnd: [EclipseEvent](-eclipse-event/index.md))
Information about a solar eclipse as seen by an observer at a given time and geographic location. |
| [LunarEclipseInfo](-lunar-eclipse-info/index.md)
class [LunarEclipseInfo](-lunar-eclipse-info/index.md)(kind: [EclipseKind](-eclipse-kind/index.md), obscuration: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), peak: [Time](-time/index.md), sdPenum: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), sdPartial: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), sdTotal: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Information about a lunar eclipse. |
| [MoonQuarterInfo](-moon-quarter-info/index.md)
class [MoonQuarterInfo](-moon-quarter-info/index.md)(quarter: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), time: [Time](-time/index.md))
A lunar quarter event (new moon, first quarter, full moon, or third quarter) along with its date and time. |
| [NodeEventInfo](-node-event-info/index.md)
class [NodeEventInfo](-node-event-info/index.md)(time: [Time](-time/index.md), kind: [NodeEventKind](-node-event-kind/index.md))
Information about an ascending or descending node of a body. |
| [NodeEventKind](-node-event-kind/index.md)
enum [NodeEventKind](-node-event-kind/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[NodeEventKind](-node-event-kind/index.md)>
Indicates whether a crossing through the ecliptic plane is ascending or descending. |
| [Observer](-observer/index.md)
data class [Observer](-observer/index.md)(latitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), longitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), height: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
The location of an observer on (or near) the surface of the Earth. |
| [PositionFunction](-position-function/index.md)
fun interface [PositionFunction](-position-function/index.md)
A function for which to solve a light-travel time problem. |
| [Refraction](-refraction/index.md)
enum [Refraction](-refraction/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Refraction](-refraction/index.md)>
Selects whether to correct for atmospheric refraction, and if so, how. |
| [RotationMatrix](-rotation-matrix/index.md)
class [RotationMatrix](-rotation-matrix/index.md)(rot: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)<[DoubleArray](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double-array/index.html)>)
A rotation matrix that can be used to transform one coordinate system to another. |
| [SearchContext](-search-context/index.md)
fun interface [SearchContext](-search-context/index.md)
Represents a function whose ascending root is to be found. |
| [SeasonsInfo](-seasons-info/index.md)
class [SeasonsInfo](-seasons-info/index.md)(marchEquinox: [Time](-time/index.md), juneSolstice: [Time](-time/index.md), septemberEquinox: [Time](-time/index.md), decemberSolstice: [Time](-time/index.md))
The dates and times of changes of season for a given calendar year. |
| [Spherical](-spherical/index.md)
data class [Spherical](-spherical/index.md)(lat: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), lon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dist: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Spherical coordinates: latitude, longitude, distance. |
| [StateVector](-state-vector/index.md)
data class [StateVector](-state-vector/index.md)(x: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), y: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), z: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vx: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vy: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), vz: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), t: [Time](-time/index.md))
Represents a combined position vector and velocity vector at a given moment in time. |
| [Time](-time/index.md)
class [Time](-time/index.md) : [Comparable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html)<[Time](-time/index.md)>
A date and time used for astronomical calculations. |
| [Topocentric](-topocentric/index.md)
data class [Topocentric](-topocentric/index.md)(azimuth: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), altitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Coordinates of a celestial body as seen by a topocentric observer. |
| [TransitInfo](-transit-info/index.md)
class [TransitInfo](-transit-info/index.md)(start: [Time](-time/index.md), peak: [Time](-time/index.md), finish: [Time](-time/index.md), separation: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Information about a transit of Mercury or Venus, as seen from the Earth. |
| [Vector](-vector/index.md)
data class [Vector](-vector/index.md)(x: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), y: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), z: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), t: [Time](-time/index.md))
A 3D Cartesian vector whose components are expressed in Astronomical Units (AU). |
| [Visibility](-visibility/index.md)
enum [Visibility](-visibility/index.md) : [Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)<[Visibility](-visibility/index.md)>
Indicates whether a body (especially Mercury or Venus) is best seen in the morning or evening. |
## Functions
| Name | Summary |
|---|---|
| [angleFromSun](angle-from-sun.md)
fun [angleFromSun](angle-from-sun.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Returns the angle between the given body and the Sun, as seen from the Earth. |
| [atmosphere](atmosphere.md)
fun [atmosphere](atmosphere.md)(elevationMeters: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [AtmosphereInfo](-atmosphere-info/index.md)
Calculates U.S. Standard Atmosphere (1976) variables as a function of elevation. |
| [backdatePosition](backdate-position.md)
fun [backdatePosition](backdate-position.md)(time: [Time](-time/index.md), observerBody: [Body](-body/index.md), targetBody: [Body](-body/index.md), aberration: [Aberration](-aberration/index.md)): [Vector](-vector/index.md)
Solve for light travel time correction of apparent position. |
| [baryState](bary-state.md)
fun [baryState](bary-state.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [StateVector](-state-vector/index.md)
Calculates barycentric position and velocity vectors for the given body. |
| [constellation](constellation.md)
fun [constellation](constellation.md)(ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [ConstellationInfo](-constellation-info/index.md)
Determines the constellation that contains the given point in the sky. |
| [correctLightTravel](correct-light-travel.md)
fun [correctLightTravel](correct-light-travel.md)(func: [PositionFunction](-position-function/index.md), time: [Time](-time/index.md)): [Vector](-vector/index.md)
Solve for light travel time of a vector function. |
| [defineStar](define-star.md)
fun [defineStar](define-star.md)(body: [Body](-body/index.md), ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), distanceLightYears: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html))
Assign equatorial coordinates to a user-defined star. |
| [degreesToRadians](degrees-to-radians.md)
fun [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html).[degreesToRadians](degrees-to-radians.md)(): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Convert an angle expressed in degrees to an angle expressed in radians. |
| [eclipticGeoMoon](ecliptic-geo-moon.md)
fun [eclipticGeoMoon](ecliptic-geo-moon.md)(time: [Time](-time/index.md)): [Spherical](-spherical/index.md)
Calculates spherical ecliptic geocentric position of the Moon. |
| [eclipticLongitude](ecliptic-longitude.md)
fun [eclipticLongitude](ecliptic-longitude.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates heliocentric ecliptic longitude of a body. |
| [elongation](elongation.md)
fun [elongation](elongation.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [ElongationInfo](-elongation-info/index.md)
Determines visibility of a celestial body relative to the Sun, as seen from the Earth. |
| [equator](equator.md)
fun [equator](equator.md)(body: [Body](-body/index.md), time: [Time](-time/index.md), observer: [Observer](-observer/index.md), equdate: [EquatorEpoch](-equator-epoch/index.md), aberration: [Aberration](-aberration/index.md)): [Equatorial](-equatorial/index.md)
Calculates equatorial coordinates of a celestial body as seen by an observer on the Earth's surface. |
| [equatorialToEcliptic](equatorial-to-ecliptic.md)
fun [equatorialToEcliptic](equatorial-to-ecliptic.md)(eqj: [Vector](-vector/index.md)): [Ecliptic](-ecliptic/index.md)
Converts a J2000 mean equator (EQJ) vector to a true ecliptic of date (ETC) vector and angles. |
| [geoEmbState](geo-emb-state.md)
fun [geoEmbState](geo-emb-state.md)(time: [Time](-time/index.md)): [StateVector](-state-vector/index.md)
Calculates the geocentric position and velocity of the Earth/Moon barycenter. |
| [geoMoon](geo-moon.md)
fun [geoMoon](geo-moon.md)(time: [Time](-time/index.md)): [Vector](-vector/index.md)
Calculates equatorial geocentric position of the Moon at a given time. |
| [geoMoonState](geo-moon-state.md)
fun [geoMoonState](geo-moon-state.md)(time: [Time](-time/index.md)): [StateVector](-state-vector/index.md)
Calculates equatorial geocentric position and velocity of the Moon at a given time. |
| [geoVector](geo-vector.md)
fun [geoVector](geo-vector.md)(body: [Body](-body/index.md), time: [Time](-time/index.md), aberration: [Aberration](-aberration/index.md)): [Vector](-vector/index.md)
Calculates geocentric Cartesian coordinates of a body in the J2000 equatorial system. |
| [globalSolarEclipsesAfter](global-solar-eclipses-after.md)
fun [globalSolarEclipsesAfter](global-solar-eclipses-after.md)(startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[GlobalSolarEclipseInfo](-global-solar-eclipse-info/index.md)>
Enumerates a series of consecutive global solar eclipses that occur after a given time. |
| [helioDistance](helio-distance.md)
fun [helioDistance](helio-distance.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates the distance between a body and the Sun at a given time. |
| [helioState](helio-state.md)
fun [helioState](helio-state.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [StateVector](-state-vector/index.md)
Calculates heliocentric position and velocity vectors for the given body. |
| [helioVector](helio-vector.md)
fun [helioVector](helio-vector.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [Vector](-vector/index.md)
Calculates heliocentric Cartesian coordinates of a body in the J2000 equatorial system. |
| [horizon](horizon.md)
fun [horizon](horizon.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md), ra: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), dec: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), refraction: [Refraction](-refraction/index.md)): [Topocentric](-topocentric/index.md)
Calculates the apparent location of a body relative to the local horizon of an observer on the Earth. |
| [hourAngle](hour-angle.md)
fun [hourAngle](hour-angle.md)(body: [Body](-body/index.md), time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Finds the hour angle of a body for a given observer and time. |
| [illumination](illumination.md)
fun [illumination](illumination.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [IlluminationInfo](-illumination-info/index.md)
Finds visual magnitude, phase angle, and other illumination information about a celestial body. |
| [inverseRefractionAngle](inverse-refraction-angle.md)
fun [inverseRefractionAngle](inverse-refraction-angle.md)(refraction: [Refraction](-refraction/index.md), bentAltitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates the inverse of an atmospheric refraction angle. |
| [jupiterMoons](jupiter-moons.md)
fun [jupiterMoons](jupiter-moons.md)(time: [Time](-time/index.md)): [JupiterMoonsInfo](-jupiter-moons-info/index.md)
Calculates jovicentric positions and velocities of Jupiter's largest 4 moons. |
| [lagrangePoint](lagrange-point.md)
fun [lagrangePoint](lagrange-point.md)(point: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), time: [Time](-time/index.md), majorBody: [Body](-body/index.md), minorBody: [Body](-body/index.md)): [StateVector](-state-vector/index.md)
Calculates one of the 5 Lagrange points for a pair of co-orbiting bodies. |
| [lagrangePointFast](lagrange-point-fast.md)
fun [lagrangePointFast](lagrange-point-fast.md)(point: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), majorState: [StateVector](-state-vector/index.md), majorMass: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), minorState: [StateVector](-state-vector/index.md), minorMass: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [StateVector](-state-vector/index.md)
Calculates one of the 5 Lagrange points from body masses and state vectors. |
| [libration](libration.md)
fun [libration](libration.md)(time: [Time](-time/index.md)): [LibrationInfo](-libration-info/index.md)
Calculates the Moon's libration angles at a given moment in time. |
| [localSolarEclipsesAfter](local-solar-eclipses-after.md)
fun [localSolarEclipsesAfter](local-solar-eclipses-after.md)(startTime: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[LocalSolarEclipseInfo](-local-solar-eclipse-info/index.md)>
Enumerates a series of consecutive local solar eclipses that occur after a given time. |
| [lunarApsidesAfter](lunar-apsides-after.md)
fun [lunarApsidesAfter](lunar-apsides-after.md)(startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[ApsisInfo](-apsis-info/index.md)>
Enumerates a series of consecutive lunar apsides that occur after a given time. |
| [lunarEclipsesAfter](lunar-eclipses-after.md)
fun [lunarEclipsesAfter](lunar-eclipses-after.md)(startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[LunarEclipseInfo](-lunar-eclipse-info/index.md)>
Enumerates a series of consecutive lunar eclipses that occur after a given time. |
| [massProduct](mass-product.md)
fun [massProduct](mass-product.md)(body: [Body](-body/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Returns the product of mass and universal gravitational constant of a Solar System body. |
| [moonNodesAfter](moon-nodes-after.md)
fun [moonNodesAfter](moon-nodes-after.md)(startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[NodeEventInfo](-node-event-info/index.md)>
Enumerates a series of consecutive ascending/descending nodes of the Moon. |
| [moonPhase](moon-phase.md)
fun [moonPhase](moon-phase.md)(time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Returns the Moon's phase as an angle from 0 to 360 degrees. |
| [moonQuartersAfter](moon-quarters-after.md)
fun [moonQuartersAfter](moon-quarters-after.md)(startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[MoonQuarterInfo](-moon-quarter-info/index.md)>
Enumerates a series of consecutive moon quarter phase events. |
| [nextGlobalSolarEclipse](next-global-solar-eclipse.md)
fun [nextGlobalSolarEclipse](next-global-solar-eclipse.md)(prevEclipseTime: [Time](-time/index.md)): [GlobalSolarEclipseInfo](-global-solar-eclipse-info/index.md)
Searches for the next global solar eclipse in a series. |
| [nextLocalSolarEclipse](next-local-solar-eclipse.md)
fun [nextLocalSolarEclipse](next-local-solar-eclipse.md)(prevEclipseTime: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [LocalSolarEclipseInfo](-local-solar-eclipse-info/index.md)
Searches for the next local solar eclipse in a series. |
| [nextLunarApsis](next-lunar-apsis.md)
fun [nextLunarApsis](next-lunar-apsis.md)(apsis: [ApsisInfo](-apsis-info/index.md)): [ApsisInfo](-apsis-info/index.md)
Finds the next lunar perigee or apogee event in a series. |
| [nextLunarEclipse](next-lunar-eclipse.md)
fun [nextLunarEclipse](next-lunar-eclipse.md)(prevEclipseTime: [Time](-time/index.md)): [LunarEclipseInfo](-lunar-eclipse-info/index.md)
Searches for the next lunar eclipse in a series. |
| [nextMoonNode](next-moon-node.md)
fun [nextMoonNode](next-moon-node.md)(prevNode: [NodeEventInfo](-node-event-info/index.md)): [NodeEventInfo](-node-event-info/index.md)
Searches for the next time when the Moon's center crosses through the ecliptic plane. |
| [nextMoonQuarter](next-moon-quarter.md)
fun [nextMoonQuarter](next-moon-quarter.md)(mq: [MoonQuarterInfo](-moon-quarter-info/index.md)): [MoonQuarterInfo](-moon-quarter-info/index.md)
Continues searching for lunar quarters from a previous search. |
| [nextPlanetApsis](next-planet-apsis.md)
fun [nextPlanetApsis](next-planet-apsis.md)(body: [Body](-body/index.md), apsis: [ApsisInfo](-apsis-info/index.md)): [ApsisInfo](-apsis-info/index.md)
Finds the next planetary perihelion or aphelion event in a series. |
| [nextTransit](next-transit.md)
fun [nextTransit](next-transit.md)(body: [Body](-body/index.md), prevTransitTime: [Time](-time/index.md)): [TransitInfo](-transit-info/index.md)
Searches for another transit of Mercury or Venus. |
| [observerGravity](observer-gravity.md)
fun [observerGravity](observer-gravity.md)(latitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), height: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates the gravitational acceleration experienced by an observer on the Earth. |
| [pairLongitude](pair-longitude.md)
fun [pairLongitude](pair-longitude.md)(body1: [Body](-body/index.md), body2: [Body](-body/index.md), time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Returns one body's ecliptic longitude with respect to another, as seen from the Earth. |
| [planetApsidesAfter](planet-apsides-after.md)
fun [planetApsidesAfter](planet-apsides-after.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[ApsisInfo](-apsis-info/index.md)>
Enumerates a series of consecutive planetary perihelia/aphelia events. |
| [planetOrbitalPeriod](planet-orbital-period.md)
fun [planetOrbitalPeriod](planet-orbital-period.md)(body: [Body](-body/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Returns the average number of days it takes for a planet to orbit the Sun. |
| [radiansToDegrees](radians-to-degrees.md)
fun [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html).[radiansToDegrees](radians-to-degrees.md)(): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Convert an angle expressed in radians to an angle expressed in degrees. |
| [refractionAngle](refraction-angle.md)
fun [refractionAngle](refraction-angle.md)(refraction: [Refraction](-refraction/index.md), altitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates the amount of "lift" to an altitude angle caused by atmospheric refraction. |
| [rotationAxis](rotation-axis.md)
fun [rotationAxis](rotation-axis.md)(body: [Body](-body/index.md), time: [Time](-time/index.md)): [AxisInfo](-axis-info/index.md)
Calculates information about a body's rotation axis at a given time. |
| [rotationEclEqd](rotation-ecl-eqd.md)
fun [rotationEclEqd](rotation-ecl-eqd.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean ecliptic (ECL) to equatorial of-date (EQD). |
| [rotationEclEqj](rotation-ecl-eqj.md)
fun [rotationEclEqj](rotation-ecl-eqj.md)(): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean ecliptic (ECL) to J2000 mean equator (EQJ). |
| [rotationEclHor](rotation-ecl-hor.md)
fun [rotationEclHor](rotation-ecl-hor.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean ecliptic (ECL) to horizontal (HOR). |
| [rotationEctEqd](rotation-ect-eqd.md)
fun [rotationEctEqd](rotation-ect-eqd.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from true ecliptic of date (ECT) to equator of date (EQD). |
| [rotationEctEqj](rotation-ect-eqj.md)
fun [rotationEctEqj](rotation-ect-eqj.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from true ecliptic of date (ECT) to J2000 mean equator (EQJ). |
| [rotationEqdEcl](rotation-eqd-ecl.md)
fun [rotationEqdEcl](rotation-eqd-ecl.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from equatorial of-date (EQD) to J2000 mean ecliptic (ECL). |
| [rotationEqdEct](rotation-eqd-ect.md)
fun [rotationEqdEct](rotation-eqd-ect.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from equator of date (EQD) to true ecliptic of date (ECT). |
| [rotationEqdEqj](rotation-eqd-eqj.md)
fun [rotationEqdEqj](rotation-eqd-eqj.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from equatorial of-date (EQD) to J2000 mean equator (EQJ). |
| [rotationEqdHor](rotation-eqd-hor.md)
fun [rotationEqdHor](rotation-eqd-hor.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from equatorial of-date (EQD) to horizontal (HOR). |
| [rotationEqjEcl](rotation-eqj-ecl.md)
fun [rotationEqjEcl](rotation-eqj-ecl.md)(): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean equator (EQJ) to J2000 mean ecliptic (ECL). |
| [rotationEqjEct](rotation-eqj-ect.md)
fun [rotationEqjEct](rotation-eqj-ect.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean equator (EQJ) to true ecliptic of date (ECT). |
| [rotationEqjEqd](rotation-eqj-eqd.md)
fun [rotationEqjEqd](rotation-eqj-eqd.md)(time: [Time](-time/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean equator (EQJ) to equatorial of-date (EQD). |
| [rotationEqjGal](rotation-eqj-gal.md)
fun [rotationEqjGal](rotation-eqj-gal.md)(): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from galactic (GAL) to J2000 mean equator (EQJ). |
| [rotationEqjHor](rotation-eqj-hor.md)
fun [rotationEqjHor](rotation-eqj-hor.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from J2000 mean equator (EQJ) to horizontal (HOR). |
| [rotationGalEqj](rotation-gal-eqj.md)
fun [rotationGalEqj](rotation-gal-eqj.md)(): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from galactic (GAL) to J2000 mean equator (EQJ). |
| [rotationHorEcl](rotation-hor-ecl.md)
fun [rotationHorEcl](rotation-hor-ecl.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from horizontal (HOR) to J2000 mean ecliptic (ECL). |
| [rotationHorEqd](rotation-hor-eqd.md)
fun [rotationHorEqd](rotation-hor-eqd.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from horizontal (HOR) to equatorial of-date (EQD). |
| [rotationHorEqj](rotation-hor-eqj.md)
fun [rotationHorEqj](rotation-hor-eqj.md)(time: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [RotationMatrix](-rotation-matrix/index.md)
Calculates a rotation matrix from horizontal (HOR) to J2000 equatorial (EQJ). This is one of the family of functions that returns a rotation matrix for converting from one orientation to another. Source: HOR = horizontal system (x=North, y=West, z=Zenith). Target: EQJ = equatorial system, using equator at the J2000 epoch. |
| [search](search.md)
fun [search](search.md)(time1: [Time](-time/index.md), time2: [Time](-time/index.md), toleranceSeconds: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), func: [SearchContext](-search-context/index.md)): [Time](-time/index.md)?
Searches for a time at which a function's value increases through zero. |
| [searchAltitude](search-altitude.md)
fun [searchAltitude](search-altitude.md)(body: [Body](-body/index.md), observer: [Observer](-observer/index.md), direction: [Direction](-direction/index.md), startTime: [Time](-time/index.md), limitDays: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), altitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Time](-time/index.md)?
Finds the next time the center of a body reaches a given altitude. |
| [searchGlobalSolarEclipse](search-global-solar-eclipse.md)
fun [searchGlobalSolarEclipse](search-global-solar-eclipse.md)(startTime: [Time](-time/index.md)): [GlobalSolarEclipseInfo](-global-solar-eclipse-info/index.md)
Searches for a solar eclipse visible anywhere on the Earth's surface. |
| [searchHourAngle](search-hour-angle.md)
fun [searchHourAngle](search-hour-angle.md)(body: [Body](-body/index.md), observer: [Observer](-observer/index.md), hourAngle: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), startTime: [Time](-time/index.md), direction: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) = +1): [HourAngleInfo](-hour-angle-info/index.md)
Searches for the time when the center of a body reaches a specified hour angle as seen by an observer on the Earth. |
| [searchLocalSolarEclipse](search-local-solar-eclipse.md)
fun [searchLocalSolarEclipse](search-local-solar-eclipse.md)(startTime: [Time](-time/index.md), observer: [Observer](-observer/index.md)): [LocalSolarEclipseInfo](-local-solar-eclipse-info/index.md)
Searches for a solar eclipse visible at a specific location on the Earth's surface. |
| [searchLunarApsis](search-lunar-apsis.md)
fun [searchLunarApsis](search-lunar-apsis.md)(startTime: [Time](-time/index.md)): [ApsisInfo](-apsis-info/index.md)
Finds the date and time of the Moon's perigee or apogee. |
| [searchLunarEclipse](search-lunar-eclipse.md)
fun [searchLunarEclipse](search-lunar-eclipse.md)(startTime: [Time](-time/index.md)): [LunarEclipseInfo](-lunar-eclipse-info/index.md)
Searches for a lunar eclipse. |
| [searchMaxElongation](search-max-elongation.md)
fun [searchMaxElongation](search-max-elongation.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [ElongationInfo](-elongation-info/index.md)
Finds a date and time when Mercury or Venus reaches its maximum angle from the Sun as seen from the Earth. |
| [searchMoonNode](search-moon-node.md)
fun [searchMoonNode](search-moon-node.md)(startTime: [Time](-time/index.md)): [NodeEventInfo](-node-event-info/index.md)
Searches for a time when the Moon's center crosses through the ecliptic plane. |
| [searchMoonPhase](search-moon-phase.md)
fun [searchMoonPhase](search-moon-phase.md)(targetLon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), startTime: [Time](-time/index.md), limitDays: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Time](-time/index.md)?
Searches for the time that the Moon reaches a specified phase. |
| [searchMoonQuarter](search-moon-quarter.md)
fun [searchMoonQuarter](search-moon-quarter.md)(startTime: [Time](-time/index.md)): [MoonQuarterInfo](-moon-quarter-info/index.md)
Finds the first lunar quarter after the specified date and time. A lunar quarter is one of the following four lunar phase events: new moon, first quarter, full moon, third quarter. This function finds the lunar quarter that happens soonest after the specified date and time. |
| [searchPeakMagnitude](search-peak-magnitude.md)
fun [searchPeakMagnitude](search-peak-magnitude.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [IlluminationInfo](-illumination-info/index.md)
Searches for the date and time Venus will next appear brightest as seen from the Earth. |
| [searchPlanetApsis](search-planet-apsis.md)
fun [searchPlanetApsis](search-planet-apsis.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [ApsisInfo](-apsis-info/index.md)
Finds the first aphelion or perihelion for a planet after a given time. |
| [searchRelativeLongitude](search-relative-longitude.md)
fun [searchRelativeLongitude](search-relative-longitude.md)(body: [Body](-body/index.md), targetRelativeLongitude: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), startTime: [Time](-time/index.md)): [Time](-time/index.md)
Searches for the time when the Earth and another planet are separated by a specified angle in ecliptic longitude, as seen from the Sun. |
| [searchRiseSet](search-rise-set.md)
@[JvmOverloads](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-overloads/index.html)
fun [searchRiseSet](search-rise-set.md)(body: [Body](-body/index.md), observer: [Observer](-observer/index.md), direction: [Direction](-direction/index.md), startTime: [Time](-time/index.md), limitDays: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), metersAboveGround: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 0.0): [Time](-time/index.md)?
Searches for the next time a celestial body rises or sets as seen by an observer on the Earth. |
| [searchSunLongitude](search-sun-longitude.md)
fun [searchSunLongitude](search-sun-longitude.md)(targetLon: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), startTime: [Time](-time/index.md), limitDays: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)): [Time](-time/index.md)?
Searches for the time when the Sun reaches an apparent ecliptic longitude as seen from the Earth. |
| [searchTransit](search-transit.md)
fun [searchTransit](search-transit.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [TransitInfo](-transit-info/index.md)
Searches for the first transit of Mercury or Venus after a given date. |
| [seasons](seasons.md)
fun [seasons](seasons.md)(year: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [SeasonsInfo](-seasons-info/index.md)
Finds both equinoxes and both solstices for a given calendar year. |
| [siderealTime](sidereal-time.md)
fun [siderealTime](sidereal-time.md)(time: [Time](-time/index.md)): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
Calculates Greenwich Apparent Sidereal Time (GAST). |
| [sunPosition](sun-position.md)
fun [sunPosition](sun-position.md)(time: [Time](-time/index.md)): [Ecliptic](-ecliptic/index.md)
Calculates geocentric ecliptic coordinates for the Sun. |
| [times](times.md)
operator fun [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html).[times](times.md)(vec: [Vector](-vector/index.md)): [Vector](-vector/index.md)
Multiply a scalar by a vector, yielding another vector. |
| [transitsAfter](transits-after.md)
fun [transitsAfter](transits-after.md)(body: [Body](-body/index.md), startTime: [Time](-time/index.md)): [Sequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.sequences/-sequence/index.html)<[TransitInfo](-transit-info/index.md)>
Enumerates a series of consecutive transits of Mercury or Venus. |
## Properties
| Name | Summary |
|---|---|
| [AU_PER_LY](-a-u_-p-e-r_-l-y.md)
const val [AU_PER_LY](-a-u_-p-e-r_-l-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 63241.07708807546
The number of astronomical units per light-year. |
| [C_AUDAY](-c_-a-u-d-a-y.md)
const val [C_AUDAY](-c_-a-u-d-a-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 173.1446326846693
The speed of light in AU/day. |
| [CALLISTO_RADIUS_KM](-c-a-l-l-i-s-t-o_-r-a-d-i-u-s_-k-m.md)
const val [CALLISTO_RADIUS_KM](-c-a-l-l-i-s-t-o_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 2410.3
The mean radius of Jupiter's moon Callisto, expressed in kilometers. |
| [DEG2RAD](-d-e-g2-r-a-d.md)
const val [DEG2RAD](-d-e-g2-r-a-d.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 0.017453292519943295
The factor to convert degrees to radians = pi/180. |
| [EUROPA_RADIUS_KM](-e-u-r-o-p-a_-r-a-d-i-u-s_-k-m.md)
const val [EUROPA_RADIUS_KM](-e-u-r-o-p-a_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 1560.8
The mean radius of Jupiter's moon Europa, expressed in kilometers. |
| [GANYMEDE_RADIUS_KM](-g-a-n-y-m-e-d-e_-r-a-d-i-u-s_-k-m.md)
const val [GANYMEDE_RADIUS_KM](-g-a-n-y-m-e-d-e_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 2631.2
The mean radius of Jupiter's moon Ganymede, expressed in kilometers. |
| [HOUR2RAD](-h-o-u-r2-r-a-d.md)
const val [HOUR2RAD](-h-o-u-r2-r-a-d.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 0.26179938779914946
The factor to convert sidereal hours to radians = pi/12. |
| [IO_RADIUS_KM](-i-o_-r-a-d-i-u-s_-k-m.md)
const val [IO_RADIUS_KM](-i-o_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 1821.6
The mean radius of Jupiter's moon Io, expressed in kilometers. |
| [JUPITER_EQUATORIAL_RADIUS_KM](-j-u-p-i-t-e-r_-e-q-u-a-t-o-r-i-a-l_-r-a-d-i-u-s_-k-m.md)
const val [JUPITER_EQUATORIAL_RADIUS_KM](-j-u-p-i-t-e-r_-e-q-u-a-t-o-r-i-a-l_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 71492.0
The equatorial radius of Jupiter, expressed in kilometers. |
| [JUPITER_MEAN_RADIUS_KM](-j-u-p-i-t-e-r_-m-e-a-n_-r-a-d-i-u-s_-k-m.md)
const val [JUPITER_MEAN_RADIUS_KM](-j-u-p-i-t-e-r_-m-e-a-n_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 69911.0
The volumetric mean radius of Jupiter, expressed in kilometers. |
| [JUPITER_POLAR_RADIUS_KM](-j-u-p-i-t-e-r_-p-o-l-a-r_-r-a-d-i-u-s_-k-m.md)
const val [JUPITER_POLAR_RADIUS_KM](-j-u-p-i-t-e-r_-p-o-l-a-r_-r-a-d-i-u-s_-k-m.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 66854.0
The polar radius of Jupiter, expressed in kilometers. |
| [KM_PER_AU](-k-m_-p-e-r_-a-u.md)
const val [KM_PER_AU](-k-m_-p-e-r_-a-u.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 1.4959787069098932E8
The number of kilometers in one astronomical unit (AU). |
| [MILLISECONDS_PER_DAY](-m-i-l-l-i-s-e-c-o-n-d-s_-p-e-r_-d-a-y.md)
const val [MILLISECONDS_PER_DAY](-m-i-l-l-i-s-e-c-o-n-d-s_-p-e-r_-d-a-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
The number of milliseconds in a day. |
| [MINUTES_PER_DAY](-m-i-n-u-t-e-s_-p-e-r_-d-a-y.md)
const val [MINUTES_PER_DAY](-m-i-n-u-t-e-s_-p-e-r_-d-a-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
The number of minutes in a day. |
| [RAD2DEG](-r-a-d2-d-e-g.md)
const val [RAD2DEG](-r-a-d2-d-e-g.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 57.29577951308232
The factor to convert radians to degrees = 180/pi. |
| [RAD2HOUR](-r-a-d2-h-o-u-r.md)
const val [RAD2HOUR](-r-a-d2-h-o-u-r.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) = 3.819718634205488
The factor to convert radians to sidereal hours = 12/pi. |
| [SECONDS_PER_DAY](-s-e-c-o-n-d-s_-p-e-r_-d-a-y.md)
const val [SECONDS_PER_DAY](-s-e-c-o-n-d-s_-p-e-r_-d-a-y.md): [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)
The number of seconds in a day. |