NAME
HouseOccupiedByPlanet
Find out which house a planet is in for the current horoscope. (House and sign in same direction)
USAGE
HouseOccupiedByPlanet [-center] nplanet
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. Insteed, 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.
RETURN
Return the number of the house the planet is in, from 1 to 12.
In this function, house and sign are in the same direction around the zodiac, that is to say that house 2 is under the horizon line.
EXAMPLE
foreach {i} {0 1 2 3 4 5 6 9 10 11 12 13 14} {
PutTxt [HouseOccupiedByPlanet $i ]
}
Output
3
11
3
4
5
12
9
11
5
3
5
3
9
Remark: notice that nplanet 7 and 8 as As and M.H. are not in the foreach