Searched refs:sinD (Results 1 – 4 of 4) sorted by relevance
484 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon() local489 double altitude = Math.asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()490 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon()
486 double sinD = Math.sin(equatorial.declination); in eclipticToHorizon() local491 double altitude = Math.asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()492 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon()
509 double sinD = ::sin(equatorial.declination); in eclipticToHorizon() local514 double altitude = asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()515 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon()