operators.h 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. /* This file contains the declarations of all generalization operators
  2. * implemented in this v.generalize */
  3. /* simplification.c */
  4. int douglas_peucker(struct line_pnts *Points, double thresh, int with_z);
  5. int lang(struct line_pnts *Points, double thresh, int look_ahead, int with_z);
  6. int vertex_reduction(struct line_pnts *Points, double eps, int with_z);
  7. int reumann_witkam(struct line_pnts *Points, double thresh, int with_z);
  8. int douglas_peucker_reduction(struct line_pnts *Points, double thresh,
  9. double reduction, int with_z);
  10. /* smoothing.c */
  11. int boyle(struct line_pnts *Points, int look_ahead, int with_z);
  12. int sliding_averaging(struct line_pnts *Points, double slide, int look_ahead,
  13. int with_z);
  14. int distance_weighting(struct line_pnts *Points, double slide, int look_ahead,
  15. int with_z);
  16. int chaiken(struct line_pnts *Points, double thresh, int with_z);
  17. int hermite(struct line_pnts *Points, double step, double angle_thresh,
  18. int with_z);
  19. int snakes(struct line_pnts *Points, double alpha, double beta, int with_z);
  20. /* network.c */
  21. int graph_generalization(struct Map_info *In, struct Map_info *Out,
  22. double degree_thresh, double closeness_thresh,
  23. double betweeness_thresh);
  24. /* displacement.c */
  25. int snakes_displacement(struct Map_info *In, struct Map_info *Out,
  26. double threshold, double alpha, double beta,
  27. double gama, double delta, int iterations,
  28. struct varray * varray);