'Calculate x, y and z from lat, long and azimuth

There is a way to calculate a vector 3 (x, y, z) given:

  1. My position, in latitude and longitude;
  2. The position of a place, in latitude and longitude;
  3. Azimuth

In my case, once I have calculated the angle between my position and the position of the place, bearing in mind the azimuth value, how do I get the points x, y and z?

I ask for an app that uses augmented reality; through the camera I have to be able to always see the marker of the desired place in the same place, even changing the azimuth value.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source