There are two calculation methods in the app:- the coordinates of point B are calculated based on the known coordinates of point A, the bearing and the distance between points; - the bearing of the line and the distance are calculated from the known coordinates of points A and B.