NAME
HouseOfPlanet
Find out which house a planet is in for the current horoscope.
USAGE
HouseOfPlanet nplanet [-center] [-shsd]
PARAMETERS
nplanet: is the number of the planet. Valid values are 0 to 14
OPTIONS
-center:
If specified, the house doesn’t start from its cusp to the cusp of the following house. Instead, the cusp is the center of the house.
The house extends
from
the middle of its cusp and the previous house cusp
to
the middle of its cusp and the following house cusp.
-shsd: sign and house same direction
If specified, sign and house are in the same direction, else signs and Houses are in opposite direction
RETURN
Return the number of the house the planet is in, from 1 to 12.
EXAMPLE
foreach {i} {0 1 2 3 4 5 6 9 10 11 12 13 14} {
PutTxt " Planet [NameOfPlanet $i] is in [HouseOfPlanet $i ], Dorsan method
or in [HouseOfPlanet $i -shsd] as usual "
}
Output
Planet Soleil is in 10, Dorsan method or in 3 as usual
Planet Lune is in 2, Dorsan method or in 11 as usual
Planet Mercure is in 10, Dorsan method or in 3 as usual
Planet Vénus is in 9, Dorsan method or in 4 as usual
Planet Mars is in 8, Dorsan method or in 5 as usual
Planet Jupiter is in 1, Dorsan method or in 12 as usual
Planet Saturne is in 4, Dorsan method or in 9 as usual
Planet Rahu is in 2, Dorsan method or in 11 as usual
Planet Ketu is in 8, Dorsan method or in 5 as usual
Planet Uranus is in 10, Dorsan method or in 3 as usual
Planet Neptune is in 8, Dorsan method or in 5 as usual
Planet Pluton is in 10, Dorsan method or in 3 as usual
Planet Fortune is in 4, Dorsan method or in 9 as usual
Remark: notice that nplanet 7 and 8 as As and M.H. are not in the foreach