The basics of visibility analysis