/dports/astro/celestia-gtk/celestia-1.6.1/src/celengine/ |
H A D | frame.cpp | 101 return centerObject.getPosition(tjd) + rotate(uc, getOrientation(tjd)); in convertToUniversal() 108 return q * getOrientation(tjd); in convertToUniversal() 168 Quatd q0 = getOrientation(tjd); in getAngularVelocity() 398 return equatorObject.body()->getBodyFrame(tjd)->getAngularVelocity(tjd); in getAngularVelocity() 468 if (tjd != lastTime) in getOrientation() 470 lastTime = tjd; in getOrientation() 487 if (tjd != lastTime) in getAngularVelocity() 489 lastTime = tjd; in getAngularVelocity() 510 Quatd q0 = getOrientation(tjd); in computeAngularVelocity() 765 v = target.getPosition(tjd) - observer.getPosition(tjd); in direction() [all …]
|
H A D | rotation.cpp | 69 CachingRotationModel::spin(double tjd) const in spin() 71 if (tjd != lastTime) in spin() 73 lastTime = tjd; in spin() 74 lastSpin = computeSpin(tjd); in spin() 81 lastSpin = computeSpin(tjd); in spin() 92 if (tjd != lastTime) in equatorOrientationAtTime() 94 lastTime = tjd; in equatorOrientationAtTime() 113 if (tjd != lastTime) in angularVelocityAtTime() 116 lastTime = tjd; in angularVelocityAtTime() 135 Quatd q0 = orientationAtTime(tjd); in computeAngularVelocity() [all …]
|
H A D | rotation.h | 34 Quatd orientationAtTime(double tjd) const in orientationAtTime() argument 36 return spin(tjd) * equatorOrientationAtTime(tjd); in orientationAtTime() 39 virtual Vec3d angularVelocityAtTime(double tjd) const; 55 virtual Quatd spin(double tjd) const = 0; 93 Quatd spin(double tjd) const; 94 Quatd equatorOrientationAtTime(double tjd) const; 95 Vec3d angularVelocityAtTime(double tjd) const; 98 virtual Quatd computeSpin(double tjd) const = 0; 123 virtual Quatd spin(double tjd) const; 147 virtual Quatd spin(double tjd) const; [all …]
|
H A D | frame.h | 44 virtual Quatd getOrientation(double tjd) const = 0; 76 Quatd getOrientation(double tjd) const; 77 Vec3d getAngularVelocity(double tjd) const; 79 virtual Vec3d computeAngularVelocity(double tjd) const; 116 Quatd getOrientation(double tjd) const; 135 Quatd getOrientation(double tjd) const; 136 virtual Vec3d getAngularVelocity(double tjd) const; 153 Quatd getOrientation(double tjd) const; 154 virtual Vec3d getAngularVelocity(double tjd) const; 176 Vec3d direction(double tjd) const; [all …]
|
H A D | samporient.cpp | 77 void addSample(double tjd, Quatf q); 82 virtual Quatd spin(double tjd) const; 90 Quatf getOrientation(double tjd) const; 128 Quatd SampledOrientation::spin(double tjd) const in spin() 131 Quatf q = getOrientation(tjd); in spin() 155 Quatf SampledOrientation::getOrientation(double tjd) const in getOrientation() 169 samp.t = tjd; in getOrientation() 175 if (n < 1 || n >= (int) samples.size() || tjd < samples[n - 1].t || tjd > samples[n].t) in getOrientation() 234 double tjd; in LoadSampledOrientation() local 236 in >> tjd; in LoadSampledOrientation() [all …]
|
H A D | jpleph.cpp | 93 Point3d JPLEphemeris::getPlanetPosition(JPLEphemItem planet, double tjd) const in getPlanetPosition() 105 Point3d embPos = getPlanetPosition(JPLEph_EarthMoonBary, tjd); in getPlanetPosition() 108 Point3d moonPos = getPlanetPosition(JPLEph_Moon, tjd); in getPlanetPosition() 114 if (tjd < startDate) in getPlanetPosition() 115 tjd = startDate; in getPlanetPosition() 116 else if (tjd > endDate) in getPlanetPosition() 117 tjd = endDate; in getPlanetPosition() 120 unsigned int recNo = (unsigned int) ((tjd - startDate) / daysPerInterval); in getPlanetPosition() 139 u = 2.0 * (tjd - rec->t0) / daysPerInterval - 1.0; in getPlanetPosition() 144 int granule = (int) ((tjd - rec->t0) / daysPerGranule); in getPlanetPosition() [all …]
|
/dports/astro/celestia/celestia-1.6.1/src/celengine/ |
H A D | frame.cpp | 101 return centerObject.getPosition(tjd) + rotate(uc, getOrientation(tjd)); in convertToUniversal() 108 return q * getOrientation(tjd); in convertToUniversal() 168 Quatd q0 = getOrientation(tjd); in getAngularVelocity() 398 return equatorObject.body()->getBodyFrame(tjd)->getAngularVelocity(tjd); in getAngularVelocity() 468 if (tjd != lastTime) in getOrientation() 470 lastTime = tjd; in getOrientation() 487 if (tjd != lastTime) in getAngularVelocity() 489 lastTime = tjd; in getAngularVelocity() 510 Quatd q0 = getOrientation(tjd); in computeAngularVelocity() 765 v = target.getPosition(tjd) - observer.getPosition(tjd); in direction() [all …]
|
H A D | rotation.cpp | 69 CachingRotationModel::spin(double tjd) const in spin() 71 if (tjd != lastTime) in spin() 73 lastTime = tjd; in spin() 74 lastSpin = computeSpin(tjd); in spin() 81 lastSpin = computeSpin(tjd); in spin() 92 if (tjd != lastTime) in equatorOrientationAtTime() 94 lastTime = tjd; in equatorOrientationAtTime() 113 if (tjd != lastTime) in angularVelocityAtTime() 116 lastTime = tjd; in angularVelocityAtTime() 135 Quatd q0 = orientationAtTime(tjd); in computeAngularVelocity() [all …]
|
H A D | rotation.h | 34 Quatd orientationAtTime(double tjd) const in orientationAtTime() argument 36 return spin(tjd) * equatorOrientationAtTime(tjd); in orientationAtTime() 39 virtual Vec3d angularVelocityAtTime(double tjd) const; 55 virtual Quatd spin(double tjd) const = 0; 93 Quatd spin(double tjd) const; 94 Quatd equatorOrientationAtTime(double tjd) const; 95 Vec3d angularVelocityAtTime(double tjd) const; 98 virtual Quatd computeSpin(double tjd) const = 0; 123 virtual Quatd spin(double tjd) const; 147 virtual Quatd spin(double tjd) const; [all …]
|
H A D | frame.h | 44 virtual Quatd getOrientation(double tjd) const = 0; 76 Quatd getOrientation(double tjd) const; 77 Vec3d getAngularVelocity(double tjd) const; 79 virtual Vec3d computeAngularVelocity(double tjd) const; 116 Quatd getOrientation(double tjd) const; 135 Quatd getOrientation(double tjd) const; 136 virtual Vec3d getAngularVelocity(double tjd) const; 153 Quatd getOrientation(double tjd) const; 154 virtual Vec3d getAngularVelocity(double tjd) const; 176 Vec3d direction(double tjd) const; [all …]
|
H A D | samporient.cpp | 77 void addSample(double tjd, Quatf q); 82 virtual Quatd spin(double tjd) const; 90 Quatf getOrientation(double tjd) const; 128 Quatd SampledOrientation::spin(double tjd) const in spin() 131 Quatf q = getOrientation(tjd); in spin() 155 Quatf SampledOrientation::getOrientation(double tjd) const in getOrientation() 169 samp.t = tjd; in getOrientation() 175 if (n < 1 || n >= (int) samples.size() || tjd < samples[n - 1].t || tjd > samples[n].t) in getOrientation() 234 double tjd; in LoadSampledOrientation() local 236 in >> tjd; in LoadSampledOrientation() [all …]
|
H A D | jpleph.cpp | 93 Point3d JPLEphemeris::getPlanetPosition(JPLEphemItem planet, double tjd) const in getPlanetPosition() 105 Point3d embPos = getPlanetPosition(JPLEph_EarthMoonBary, tjd); in getPlanetPosition() 108 Point3d moonPos = getPlanetPosition(JPLEph_Moon, tjd); in getPlanetPosition() 114 if (tjd < startDate) in getPlanetPosition() 115 tjd = startDate; in getPlanetPosition() 116 else if (tjd > endDate) in getPlanetPosition() 117 tjd = endDate; in getPlanetPosition() 120 unsigned int recNo = (unsigned int) ((tjd - startDate) / daysPerInterval); in getPlanetPosition() 139 u = 2.0 * (tjd - rec->t0) / daysPerInterval - 1.0; in getPlanetPosition() 144 int granule = (int) ((tjd - rec->t0) / daysPerGranule); in getPlanetPosition() [all …]
|
/dports/astro/swe/swisseph-2.10.1/ |
H A D | swedllst.c | 90 double *tjd, int ipl, long iflag, 159 double *tjd); 163 int gregflag, double *tjd); 166 double *tjd, 171 double *tjd, 384 *deltat = swe_deltat(*tjd); in swe_deltat_d() 399 *sidt = swe_sidtime(*tjd); in swe_sidtime_d() 446 double *tjd) in swe_date_conversion_d() argument 453 int gregflag, double *tjd) in swe_julday_d() argument 460 double *tjd, in swe_revjul_d() argument [all …]
|
H A D | swehel.c | 2929 *tret = tjd; in time_optimum_visibility() 2935 t1 = tjd; in time_optimum_visibility() 2936 t2 = tjd; in time_optimum_visibility() 2977 tjd = t2; in time_optimum_visibility() 2979 tjd = t1; in time_optimum_visibility() 2981 *tret = tjd; in time_optimum_visibility() 3005 *tret = tjd; in time_limit_invisible() 3024 *tret = tjd; in time_limit_invisible() 3220 tday = tjd; 3435 tjd = tjd0; [all …]
|
H A D | swephlib.h | 110 extern void swi_bias(double *x, double tjd, int32 iflag, AS_BOOL backward); 124 extern int swi_plan_for_osc_elem(int32 iflag, double tjd, double *xx); 127 extern int swi_get_observer(double tjd, int32 iflag, 132 extern void swi_check_ecliptic(double tjd, int32 iflag); 137 extern void swi_check_nutation(double tjd, int32 iflag); 141 extern void swi_mean_lunar_elements(double tjd, 159 extern void swi_gen_filename(double tjd, int ipli, char *fname); 173 extern void swi_FK4_FK5(double *xp, double tjd);
|
H A D | sweph.c | 1630 if (tjd > MOSHPLEPH_START && tjd < MOSHPLEPH_END) { in main_planet() 1654 if (tjd > MOSHPLEPH_START && tjd < MOSHPLEPH_END) { in main_planet() 1671 if (tjd > MOSHPLEPH_START && tjd < MOSHPLEPH_END) { in main_planet() 1688 if (tjd > MOSHPLEPH_START && tjd < MOSHPLEPH_END) { in main_planet() 1769 if (tjd > MOSHPLEPH_START && tjd < MOSHPLEPH_END) { in main_planet_bary() 2087 if (tjd != pedp->teval || tjd == 0) { in jplplan() 2109 if (tjd != psdp->teval || tjd == 0) { in jplplan() 2219 if (tjd < fdp->tfstart || tjd > fdp->tfend in sweph() 2287 if (tjd < fdp->tfstart || tjd > fdp->tfend) { in sweph() 6120 if (swed.oec.teps != tjd || tjd == 0) { in swi_check_ecliptic() [all …]
|
H A D | swecl.c | 1264 tjd = tjd - 0.4075 * sin(Mm) in swe_sol_eclipse_when_glob() 1274 if (tjd < 2000000 || tjd > 2500000) in swe_sol_eclipse_when_glob() 1301 tjds = tjd - swe_deltat_ex(tjd, ifl, serr); in swe_sol_eclipse_when_glob() 1718 tjd -= swe_deltat_ex(tjd, ifl, serr); in swe_lun_occult_when_glob() 2162 tjd = tjd - 0.4075 * sin(Mm) in eclipse_when_loc() 2216 tret[0] = tjd - swe_deltat_ex(tjd, ifl, serr); in eclipse_when_loc() 2563 tret[0] = tjd - swe_deltat_ex(tjd, ifl, serr); in occult_when_loc() 3462 tjd = tjd - 0.4075 * sin(Mm) 3487 if (tjd < 2000000 || tjd > 2500000) 3516 tjd2 = tjd - swe_deltat_ex(tjd, ifl, serr); [all …]
|
H A D | swemplan.c | 299 if (tjd < MOSHPLEPH_START - 0.3 || tjd > MOSHPLEPH_END + 0.3) { in swi_moshplan() 302 tjd, MOSHPLEPH_START, MOSHPLEPH_END); in swi_moshplan() 310 if (tjd == pedp->teval in swi_moshplan() 320 pedp->teval = tjd; in swi_moshplan() 349 swi_moshplan2(tjd, iplm, xp); in swi_moshplan() 353 pdp->teval = tjd;/**/ in swi_moshplan() 366 swi_moshplan2(tjd - dt, iplm, x2); in swi_moshplan() 426 T = (tjd-J1900)/36525.0; in embofs_mosh() 785 tt = tjd - *tjd0; in read_elements_file() 801 *tequ = tjd; in read_elements_file() [all …]
|
H A D | swedate.c | 95 double *tjd) in swe_date_conversion() argument 105 *tjd = jd; in swe_date_conversion() 242 double tjd, d; in swe_utc_time_zone() local 250 tjd = swe_julday(iyear, imonth, iday, 0, SE_GREG_CAL); in swe_utc_time_zone() 253 tjd -= 1.0; in swe_utc_time_zone() 257 tjd += 1.0; in swe_utc_time_zone() 491 double d, tjd, tjd_et_1972, tjd_ut, dret[10]; in swe_jdet_to_utc() local 527 tjd = swe_julday(iyear2, imonth2, iday2, 0, SE_GREG_CAL); in swe_jdet_to_utc() 541 swe_revjul(tjd, SE_GREG_CAL, iyear, imonth, iday, &d); in swe_jdet_to_utc() 564 tjd = swe_julday(*iyear, *imonth, *iday, 0, SE_GREG_CAL); in swe_jdet_to_utc() [all …]
|
H A D | swephlib.c | 541 t = (tjd - J2000) / 36525.0; in swi_ldp_peps() 670 pre_pequ(tjd, peqr); in pre_pmat() 672 pre_pecl(tjd, pecl); in pre_pmat() 2136 if (tjd < swed.interpol.tjd_nut2 && tjd > swed.interpol.tjd_nut0) { in swi_nutation() 2591 if (tjd >= 2434108.5) { in calc_deltat() 3476 if (tjd <= SIDT_LTERM_T0 || tjd >= SIDT_LTERM_T1) { in swe_sidtime0() 3488 jd = tjd; in swe_sidtime0() 3490 secs = tjd - jd0; in swe_sidtime0() 3503 jdrel = tjd - J2000; in swe_sidtime0() 3504 tt = (tjd + swe_deltat_ex(tjd, -1, NULL) - J2000) / 36525.0; in swe_sidtime0() [all …]
|
H A D | swemini.c | 77 double tjd, te, x2[6]; in main() local 95 tjd = swe_julday(jyear,jmon,jday,jut,SE_GREG_CAL); in main() 99 te = tjd + swe_deltat(tjd); in main()
|
/dports/astro/xplanet/xplanet-1.3.1/src/libephemeris/ |
H A D | EphemerisHigh.cpp | 29 EphemerisHigh::GetHeliocentricXYZ(const body b, const double tjd, in GetHeliocentricXYZ() argument 81 if (tjd < start || tjd > end) in GetHeliocentricXYZ() 84 errMsg << "Date (" << fromJulian(tjd) << ") out of range of file (" in GetHeliocentricXYZ() 93 if (jpl_pleph(ephem_, tjd, target, origin, r, calcVelocity)) in GetHeliocentricXYZ()
|
/dports/graphics/jpeg-turbo/libjpeg-turbo-2.1.1/java/ |
H A D | TJExample.java | 290 TJDecompressor tjd; in main() local 298 tjd = tjds[0]; in main() 301 tjd = new TJDecompressor(jpegBuf); in main() 303 width = tjd.getWidth(); in main() 304 height = tjd.getHeight(); in main() 305 int inSubsamp = tjd.getSubsamp(); in main() 306 int inColorspace = tjd.getColorspace(); in main() 320 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main() 334 img = tjd.decompress(width, height, BufferedImage.TYPE_INT_RGB, in main() 337 imgBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags); in main() [all …]
|
/dports/graphics/libjpeg-turbo/libjpeg-turbo-2.1.1/java/ |
H A D | TJExample.java | 290 TJDecompressor tjd; in main() local 298 tjd = tjds[0]; in main() 301 tjd = new TJDecompressor(jpegBuf); in main() 303 width = tjd.getWidth(); in main() 304 height = tjd.getHeight(); in main() 305 int inSubsamp = tjd.getSubsamp(); in main() 306 int inColorspace = tjd.getColorspace(); in main() 320 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main() 334 img = tjd.decompress(width, height, BufferedImage.TYPE_INT_RGB, in main() 337 imgBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags); in main() [all …]
|
/dports/graphics/mozjpeg/mozjpeg-4.0.3/java/ |
H A D | TJExample.java | 290 TJDecompressor tjd; in main() local 298 tjd = tjds[0]; in main() 301 tjd = new TJDecompressor(jpegBuf); in main() 303 width = tjd.getWidth(); in main() 304 height = tjd.getHeight(); in main() 305 int inSubsamp = tjd.getSubsamp(); in main() 306 int inColorspace = tjd.getColorspace(); in main() 320 fos.write(tjd.getJPEGBuf(), 0, tjd.getJPEGSize()); in main() 334 img = tjd.decompress(width, height, BufferedImage.TYPE_INT_RGB, in main() 337 imgBuf = tjd.decompress(width, 0, height, TJ.PF_BGRX, flags); in main() [all …]
|