NAME
Astro::Montenbruck::Ephemeris::Planet::Sun
SYNOPSIS
use Astro::Montenbruck::Ephemeris::Planet::Sun;
my $planet = Astro::Montenbruck::Ephemeris::Planet::Sun->new();
my $geo = $planet->position($t); # apparent geocentric ecliptical coordinates
DESCRIPTION
Child class of Astro::Montenbruck::Ephemeris::Planet, responsible for calculating Sun position.
METHODS
Astro::Montenbruck::Ephemeris::Planet::Sun->new
Constructor.
$self->position($t)
Geocentric ecliptic coordinates of the Sun
Arguments
Returns
Hash of geocentric ecliptical coordinates.
x — geocentric longitude, arc-degrees
y — geocentric latitude, arc-degrees
z — distance from Earth, AU
AUTHOR
Sergey Krushinsky, <krushi at cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2009-2019 by Sergey Krushinsky
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.