]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikcoord.h
Fix a segfault caused by (mistakenly) adding a new layer to gps layer.
[andy/viking.git] / src / vikcoord.h
index a3d0cf5fe1083bfb8a84d12559d421906d22a282..305e82ee1dcdd06532b7dee7a4354fb3a16ac4bc 100644 (file)
@@ -57,6 +57,8 @@ void vik_coord_to_utm ( const VikCoord *coord, struct UTM *dest );
 
 gboolean vik_coord_equals ( const VikCoord *coord1, const VikCoord *coord2 );
 
 
 gboolean vik_coord_equals ( const VikCoord *coord1, const VikCoord *coord2 );
 
+void vik_coord_set_area(const VikCoord *coord, const struct LatLon *wh, VikCoord *tl, VikCoord *br);
+gboolean vik_coord_inside(const VikCoord *coord, const VikCoord *tl, const VikCoord *br);
 /* all coord operations MUST BE ABSTRACTED!!! */
 
 #endif
 /* all coord operations MUST BE ABSTRACTED!!! */
 
 #endif