(eclipticLongitude, b)
| 95813 | return Math.atan2(Math.sin(lambda) * Math.cos(e) - Math.tan(b) * Math.sin(e), Math.cos(lambda)); |
| 95814 | } |
| 95815 | function getDeclination(eclipticLongitude, b) { |
| 95816 | var lambda = eclipticLongitude; |
| 95817 | return Math.asin(Math.sin(b) * Math.cos(e) + Math.cos(b) * Math.sin(e) * Math.sin(lambda)); |
| 95818 | } |
| 95819 | function getAzimuth(hourAngle, latitudeInRadians, declination) { |
| 95820 | var H = hourAngle; |
| 95821 | var phi = latitudeInRadians; |