summaryrefslogtreecommitdiff
path: root/navit/maptool/maptool.h
diff options
context:
space:
mode:
authormdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-07-09 08:40:05 +0000
committermdankov <mdankov@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-07-09 08:40:05 +0000
commit87ee6230ea82f05bd7a19daf8c8f5d104f979c95 (patch)
tree5a8fcb143b9142b122b3e50e3107ab3520334ac5 /navit/maptool/maptool.h
parent84e48fff09e171506dcca40b6eba079c8561f37f (diff)
downloadnavit-87ee6230ea82f05bd7a19daf8c8f5d104f979c95.tar.gz
Fix:maptool:Move icons and labels for way2poi generated items to polygon border if centroid is outside the polygon
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4604 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/maptool/maptool.h')
-rw-r--r--navit/maptool/maptool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/maptool/maptool.h b/navit/maptool/maptool.h
index 85d26c460..2f5b50b76 100644
--- a/navit/maptool/maptool.h
+++ b/navit/maptool/maptool.h
@@ -145,6 +145,7 @@ void geom_coord_copy(struct coord *from, struct coord *to, int count, int revers
void geom_coord_revert(struct coord *c, int count);
long long geom_poly_area(struct coord *c, int count);
int geom_poly_centroid(struct coord *c, int count, struct coord *r);
+int geom_poly_point_inside(struct coord *cp, int count, struct coord *c);
int geom_poly_closest_point(struct coord *pl, int count, struct coord *p, struct coord *c);
GList *geom_poly_segments_insert(GList *list, struct geom_poly_segment *first, struct geom_poly_segment *second, struct geom_poly_segment *third);
void geom_poly_segment_destroy(struct geom_poly_segment *seg);