pub fn position(parallax: f64, right_ascension: f64, declination: f64) -> DVec3
Expand description

Position of a single celestial object relative to the sun. Can be used in conjuction with companion functions to place a twobody system relative to the sun. parallax is in mas (milliarcseconds), right_ascension is in degrees and declination in degrees. Output is a 3-dimensional vector with x, y and z in that order all in meters.