Searched refs:cosL (Results 1 – 2 of 2) sorted by relevance
448 double cosL = Math.cos(eclipLong); in eclipticToEquatorial() local454 return new Equatorial(Math.atan2(sinL*cosE - tanB*sinE, cosL), in eclipticToEquatorial()485 double cosL = Math.cos(fLatitude); in eclipticToHorizon() local487 double altitude = Math.asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()488 double azimuth = Math.atan2(-cosD*cosL*sinH, sinD - sinL * Math.sin(altitude)); in eclipticToHorizon()
469 double cosL = cos(eclipLong); in eclipticToEquatorial() local475 result.set(atan2(sinL*cosE - tanB*sinE, cosL), in eclipticToEquatorial()510 double cosL = cos(fLatitude); in eclipticToHorizon() local512 double altitude = asin(sinD*sinL + cosD*cosL*cosH); in eclipticToHorizon()513 double azimuth = atan2(-cosD*cosL*sinH, sinD - sinL * ::sin(altitude)); in eclipticToHorizon()