The azimuth (or azimuthal angle) is the signed angle measured from the azimuth reference direction to the orthogonal projection of the line segment on the reference plane.
The elevation angle is 90 degrees ( radians) minus the inclination angle.