![]() |
![]() |
![]() |
OsmGpsMap Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#include <osm-gps-map.h> struct OsmGpsMapPoint; void osm_gps_map_point_get_degrees (OsmGpsMapPoint *point
,float *lat
,float *lon
); 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
); void osm_gps_map_point_free (OsmGpsMapPoint *point
);
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
);
|
The point ( latitude and longitude in radian ) |
|
latitude in degrees. [out] |
|
longitude in degrees. [out] |
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