Top | ![]() |
![]() |
![]() |
![]() |
void | osm_gps_map_point_get_degrees () |
void | osm_gps_map_point_get_radians () |
OsmGpsMapPoint * | osm_gps_map_point_new_degrees () |
OsmGpsMapPoint * | osm_gps_map_point_new_radians () |
void | osm_gps_map_point_set_degrees () |
void | osm_gps_map_point_set_radians () |
OsmGpsMapPoint * | osm_gps_map_point_copy () |
void | osm_gps_map_point_free () |
OsmGpsMapPoint describes a geographic location (latitude, longitude).
Helper functions exist to create such a point from either radian co-ordinates
(osm_gps_map_point_new_radians()
) or degrees (osm_gps_map_new_degrees()
).
void osm_gps_map_point_get_degrees (OsmGpsMapPoint *point
,float *lat
,float *lon
);
Returns the lagitude and longitude in degrees. of the current window, i.e the top left and bottom right corners.
void osm_gps_map_point_get_radians (OsmGpsMapPoint *point
,float *rlat
,float *rlon
);
OsmGpsMapPoint * osm_gps_map_point_new_degrees (float lat
,float lon
);
OsmGpsMapPoint * osm_gps_map_point_new_radians (float rlat
,float rlon
);
void osm_gps_map_point_set_degrees (OsmGpsMapPoint *point
,float lat
,float lon
);
void osm_gps_map_point_set_radians (OsmGpsMapPoint *point
,float rlat
,float rlon
);
OsmGpsMapPoint *
osm_gps_map_point_copy (const OsmGpsMapPoint *point
);
Since 0.7.2