ViaUtils.Location (via_utils v0.1.3) View Source

Documentation for UtilsLocation.

Link to this section Summary

Link to this section Functions

Link to this function

%ViaUtils.Location{}

View Source (struct)

Hello world.

Examples

iex> UtilsLocation.hello()
:world
Link to this function

angle_between_points(location1, location2)

View Source

Specs

angle_between_points(struct(), struct()) :: float()
Link to this function

dx_dy_between_points(wp1, wp2)

View Source

Specs

dx_dy_between_points(struct(), struct()) :: tuple()
Link to this function

dx_dy_between_points(latitude1_rad, longitude1_rad, latitude2_rad, longitude2_rad)

View Source

Specs

dx_dy_between_points(float(), float(), float(), float()) :: tuple()
Link to this function

location_from_point_with_distance_bearing(starting_point, distance, bearing)

View Source

Specs

location_from_point_with_distance_bearing(struct(), float(), float()) ::
  struct()
Link to this function

location_from_point_with_dx_dy(starting_point, dx, dy)

View Source

Specs

location_from_point_with_dx_dy(struct(), float(), float()) :: struct()
Link to this function

new_location(lat, lon, alt \\ 0)

View Source

Specs

new_location(number(), number(), number()) :: struct()
Link to this function

new_location_input_degrees(lat, lon, alt \\ 0)

View Source

Specs

new_location_input_degrees(number(), number(), number()) :: struct()

Specs

to_string(struct()) :: binary()