Name | Modified | Size | Downloads / Week |
---|---|---|---|
LICENSE | 2018-02-23 | 16.7 kB | |
README.md | 2018-02-23 | 1.6 kB | |
swenglal.dll | 2018-02-23 | 9.2 kB | |
Totals: 3 Items | 27.6 kB | 2 |
Swenglal gateway methods:
public extern static void swe_set_ephe_path(String path); public extern static double swe_julday(int year, int month, int day, double hour, int gregflag); public extern static double swe_revjul(double tjd, int gregflag, ref int year, ref int month, ref int day, ref double hour); public extern static long swe_calc(double tjd_et, int ipl, int iflag, double[] xx, String serr); public extern static long swe_calc_ut(double tjd_ut, int ipl, int iflag, double[] xx, String serr); public extern static IntPtr swe_get_planet_name(int ipl, StringBuilder result); public extern static int swe_houses(double tjd_ut, double geolat, double geolon, int hsys, double[] cusps, double[] ascmc);
Swenglal tools methods:
public static void set_ephe_path(String path); public static double get_julian_day(int year, int month, int day, double hour, int gregflag); public static int get_day_from_jd(double jdt, int cal); public static int get_month_from_jd(double jdt, int cal); public static int get_year_from_jd(double jdt, int cal); public static DateTime get_datetime_from_jd(double jdt, int cal); public static double get_obliquity(DateTime jdt, int cal = Constants.SE_GREG_CAL); public static double[] get_body(int ipl, DateTime jdt, int iflag = Constants.SEFLG_SWIEPH | Constants.SEFLG_SPEED | Constants.SEFLG_EQUATORIAL, int cal = Constants.SE_GREG_CAL); public static double[] get_houses(DateTime jdt, double lat, double lon, char system, int cal = Constants.SE_GREG_CAL); public static string get_planet_name(int ipl);