NAME

HouseOccupiedByPlanet2

Find out which house a planet is in. (House and sign in opposite direction)

USAGE

HouseOccupiedByPlanet2 [-center] nplanet

PARAMETERS

nplanet: is the number of the planet. Valid value 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.

RETURN

Return the number of the house the planet is in, from 1 to 12.

In this function, house and sign are in opposite direction around the zodiac, that is to say that house 2 is above the horizon line.

EXAMPLE

foreach {i} {0 1 2 3 4 5 6 9 10 11 12 13 14} {
    PutTxt [HouseOccupiedByPlanet2 $i ]
}

Output

10
2
10
9
8
1
4
2
8
10
8
10
4

Remark: notice that nplanet 7 and 8 as As and M.H. are not in the foreach