A global approach for three-dimensional analysis of tall buildings