cityImage.get_coord_angle#
- cityImage.get_coord_angle(origin, distance, angle)[source]#
The function returns the coordinates of the line starting from a tuple of coordinates, which forms with the y axis an angle in degree of a certain magnitude, given the distance from the origin.
- Parameters:
origin (tuple) – Tuple of coordinates.
distance (float) – The distance from the origin coordinates.
angle (float) – The desired angle.
Returns –
---------- –
coords (tuple) – The resulting coordinates.