#include "path_simplifier.h"
#include <math.h>
#include <stdlib.h>
Go to the source code of this file.
#define | DBG printf |
#define | ABS_VAL(x) ((x > 0.0)?(x):(-x)) |
#define | POW(x) (x*x) |
#define | PATH_ERROR 0.09 |
PathPoint * | newPathPoint (PathPoint *last, float x, float y) |
void | calc_line (float x1, float y1, float x2, float y2, Line *l) |
float | calc_dist (Line *l, float x, float y) |
int | path_simplifier (double *path, int nbpoints, PathPoint *first_point, double *angle) |
Functions | |
void | freePathMemory (PathPoint *simple_path) |
Definition in file path_simplifier.c.