Subversion Repositories public

Rev

Rev 88 | Rev 119 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88 Rev 104
Line 18... Line 18...
18
 ***************************************************************************/
18
 ***************************************************************************/
19
 
19
 
20
#ifndef _DISASSEMBLE_H
20
#ifndef _DISASSEMBLE_H
21
#define _DISASSEMBLE_H
21
#define _DISASSEMBLE_H
22
 
22
 
-
 
23
#define DEG_2_RAD  0.0174532925199432957692369076848861271L
-
 
24
 
23
typedef struct
25
typedef struct
24
{
26
{
25
  int		   type;
27
  int		   type;
26
  char             ident[7];       /* identifier            */
28
  char             ident[7];       /* identifier            */
27
  position_type    posn;           /* position              */
29
  position_type    posn;           /* position              */
Line 305... Line 307...
305
	   POINT_NODE *addPoint();
307
	   POINT_NODE *addPoint();
306
	   POINT_NODE *getPointNode() { return point_node; }
308
	   POINT_NODE *getPointNode() { return point_node; }
307
	   POINT *getPoint(int number);
309
	   POINT *getPoint(int number);
308
	   POINT *getPoint(uint32 time);
310
	   POINT *getPoint(uint32 time);
309
 
311
 
-
 
312
	   double CalcRad(double lat);
-
 
313
	   double earth_distance(double lat1, double lon1, double lat2, double lon2);
-
 
314
 
310
	protected:
315
	protected:
311
	   void garmin_print_dlist (garmin_list *l);
316
	   void garmin_print_dlist (garmin_list *l);
312
	   char *garmin_print_dtime (uint32 t);
317
	   char *garmin_print_dtime (uint32 t);
313
	   void garmin_print_dpos (position_type *pos, double *lat, double *lon);
318
	   void garmin_print_dpos (position_type *pos, double *lat, double *lon);
314
	   char *garmin_print_float32 (float32 f, char *ret);
319
	   char *garmin_print_float32 (float32 f, char *ret);