Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

gtkfmapsproj.h

Go to the documentation of this file.
00001 /* gtkfmapsproj.h
00002 *
00003 *  Projection library of gtkfmaps
00004 *
00005 */
00006 #ifndef __GTK_FMAPS_PROJ_H__
00007 #define __GTK_FMAPS_PROJ_H__
00008 
00009 #include <gdk/gdk.h>
00010 
00011 #include "gtkfmaps.h"
00012 
00013 #ifdef __cpluplus
00014 extern "C" {
00015 #endif /* __cpluplus */
00016 
00017 #define DEG_TO_RAD (M_PI/180)
00018 #define RAD_TO_DEG (180/M_PI)
00019 
00020 #define F_GEO_TABLE_FIELD "tid , size , factor , pattern , r , g , b , a , t1 , t2 , geo , color , edge"
00021 
00022 void gtk_fmaps_display_engine   (GtkFMaps *fmaps);
00023 Point* gtk_fmaps_get_points     (GtkFMaps *fmaps, gint tablenb, gchar *buffer, gint *nbpoints, gint *type);
00024 gint16 gtk_fmaps_displayx       (gdouble x, GtkFMaps *fmaps);
00025 gint16 gtk_fmaps_displayy       (gdouble y, GtkFMaps *fmaps);
00026 
00027 void gtk_fmaps_lonlath_2_xyz    (GtkFMapsProjDatum *projdatum,
00028                                  gdouble lon, gdouble lat, gdouble h,
00029                                  gdouble *x, gdouble *y, gdouble *z);
00030 void gtk_fmaps_xyz_2_lonlath    (GtkFMapsProjDatum *projdatum,
00031                                  gdouble x, gdouble y, gdouble z,
00032                                  gdouble *lon, gdouble *lat, gdouble *h);
00033 void gtk_fmaps_projection_init  (GtkFMapsProjDatum *projdatum);
00034 void gtk_fmaps_bursa_wolfe      (GtkFMapsProjDatum *projdatum, gboolean forward,
00035                                  gdouble *x, gdouble *y, gdouble *z);
00036 void gtk_fmaps_molendensky      (GtkFMapsProjDatum *projdatum, gboolean forward,
00037                                  gdouble *x, gdouble *y, gdouble *z);                                                           
00038 void gtk_fmaps_project          (GtkFMaps *fmaps, gint tablenb,
00039                                  gdouble *lon, gdouble *lat, gdouble *h);
00040 
00041 #ifdef __cpluplus
00042 }
00043 #endif /* __cpluplus */
00044 
00045 #endif /* __GTK_FMAPS_PROJ_H__ */

Generated at Sat Jan 6 20:55:34 2001 for FMaps by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000