Elastic axis of special classes of buildings under earthquake excitation