Method

GWeatherLocationget_distance

Declaration [src]

double
gweather_location_get_distance (
  GWeatherLocation* loc,
  GWeatherLocation* loc2
)

Description [src]

Determines the distance in kilometers between loc and loc2.

Parameters

loc2 GWeatherLocation
 

A second GWeatherLocation.

 The data is owned by the caller of the function.

Return value

Returns: double
 

The distance between loc and loc2.