|
struct coord * | coord_get (unsigned char **p) |
|
struct coord * | coord_new (int x, int y) |
|
struct coord * | coord_new_from_attrs (struct attr *parent, struct attr **attrs) |
|
void | coord_destroy (struct coord *c) |
|
int | coord_parse (const char *c_str, enum projection pro, struct coord *c_ret) |
|
int | pcoord_parse (const char *c_str, enum projection pro, struct pcoord *c_ret) |
|
void | coord_print (enum projection pro, struct coord *c, FILE *out) |
|
struct coord_rect * | coord_rect_new (struct coord *lu, struct coord *rl) |
|
void | coord_rect_destroy (struct coord_rect *r) |
|
int | coord_rect_overlap (struct coord_rect *r1, struct coord_rect *r2) |
|
int | coord_rect_contains (struct coord_rect *r, struct coord *c) |
|
void | coord_rect_extend (struct coord_rect *r, struct coord *c) |
|
void | coord_format_with_sep (float lat, float lng, enum coord_format fmt, char *buffer, int size, const char *sep) |
| Converts a lat/lon into a text formatted text string. More...
|
|
void | coord_format (float lat, float lng, enum coord_format fmt, char *buffer, int size) |
| Converts a lat/lon into a text formatted text string. More...
|
|
void | coord_geo_format_short (const struct coord_geo *gc, char *buffer, int size, char *sep) |
| Converts a WGS84 coordinate pair to its string representation. More...
|
|
void | pcoord_format_degree_short (const struct pcoord *pc, char *buffer, int size, char *sep) |
| Converts an integer mercator coordinate pair to its string representation. More...
|
|
void | pcoord_format_absolute (const struct pcoord *pc, char *buffer, int size, char *sep) |
| Converts an integer mercator coordinate pair to its string representation. More...
|
|
char * | coordinates_geo (const struct coord_geo *gc, char sep) |
|
unsigned int | coord_hash (const void *key) |
| Generate a hash from a struct coord pointed by key. More...
|
|
int | coord_equal (const void *a, const void *b) |
| Test if two struct coord structures are equal. More...
|
|
#define coord_is_equal |
( |
|
a, |
|
|
|
b |
|
) |
| ((a).x==(b).x && (a).y==(b).y) |
Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.