00001 00008 #include "pathqueue.h" 00009 #ifdef __cplusplus 00010 extern "C" { 00011 #endif 00012 00016 typedef struct _Line { 00017 float a1; 00018 float a2; 00019 float b; 00020 } Line ; 00021 00025 typedef struct _PathPoint { 00026 float x; 00027 float y; 00028 struct _PathPoint * next; 00029 } PathPoint; 00030 00031 int path_simplifier (double * path, int nbpoints, PathPoint * first_point, double * angle); 00032 void freePathMemory(PathPoint * simple_path); 00033 #ifdef __cplusplus 00034 } 00035 #endif 00036