The intervisibility is not working properly as shown in the figure. The selected lines are the sight lines which get a visible value of 1 after carrying out intervisibility. Why are the lines joining two points (circled in black and red) not calculated to be visible.
Also, if a sight line to the top of the building has visible=1, the bottom point has visible=0, and vice versa.
Thank you