UpagrahaLongitude
UpagrahaLongitude(Timetime,PlanetNameEnumrelatedPlanet,stringupagrahaPart)
Calculates the longitude of a bnonsolar Upagrahab by finding the Lagna rising at a selected planetary part of the day or night. The method works as follows 1. determines which numbered part belongs to the related planet 2. checks whether the birth or event time is during the day or night 3. divides the relevant daylight or nighttime span into b8 equal partsb 4. calculates the start and middle of the requested part 5. selects either the bbeginningb or bmiddleb of that part 6. calculates the house longitudes for that selected moment 7. returns the longitude of bHouse 1 Lagnab as the Upagraha longitude. This is the central calculation helper behind Kaala Mrityu Arthaprahaara Yamaghantaka Gulika and Maandi.
Parameters
| Name | Type | Description |
|---|---|---|
time |
Time |
The chart time. |
relatedPlanet |
PlanetName+PlanetNameEnum |
The planetary ruler used to identify the correct part. |
upagrahaPart |
String |
Which point inside the part should be used. The current code expects either cbeginc or cmiddlec. |
Calling this method
Endpoint base: https://api.vedastro.org/api/Calculate/UpagrahaLongitude
Most Calculate methods accept parameters either as URL path segments (GET) or as a JSON body (POST), keyed by parameter name. The exact request shape varies per method — see the Getting Started guide for the response envelope, StdTime format, and Ayanamsa conventions that apply across the API. Use the "Try it" panel below to build and send a real request and see the exact call this method expects.
Loading try-it widget…