You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public double CalculateHouseCusps(double theLati, double theLongi, double theGMT, long ayanamsaType)
{
// Given latitude, longitude, GMT full date and time, and Ayanamsa Type, returns Lagna Degrees
double[] bhavaCusps = new double[13]; // 12 houses + 1 for unused index
double[] AscMCVals = new double[10];
double timeJulian;
double retVal;
timeJulian = theGMT ;
_sweph.swe_set_sid_mode(SwissEph.SE_SIDM_LAHIRI, 0, 0);
// bhavaCusps and AscMCVals are assumed to be global arrays
// "P" is used as a character for Placidius house system
retVal = _sweph.swe_houses_ex(timeJulian, SwissEph.SEFLG_SIDEREAL, theLati, theLongi, 'P', bhavaCusps, AscMCVals);
double CalcLagnaDegrees = AscMCVals[0];
if (CalcLagnaDegrees > 360)
{
CalcLagnaDegrees -= 360;
}
Deg2DMS(CalcLagnaDegrees);
return CalcLagnaDegrees;
}
The text was updated successfully, but these errors were encountered:
public double CalculateHouseCusps(double theLati, double theLongi, double theGMT, long ayanamsaType)
{
// Given latitude, longitude, GMT full date and time, and Ayanamsa Type, returns Lagna Degrees
double[] bhavaCusps = new double[13]; // 12 houses + 1 for unused index
double[] AscMCVals = new double[10];
double timeJulian;
double retVal;
}
The text was updated successfully, but these errors were encountered: