Root/
| 1 | /* |
| 2 | * poly2d.h - Poly2D interface functions |
| 3 | * |
| 4 | * Written 2012 by Werner Almesberger |
| 5 | * Copyright 2012 Werner Almesberger |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | */ |
| 12 | |
| 13 | |
| 14 | #ifndef POLY2D_H |
| 15 | |
| 16 | #include <poly2d.h> |
| 17 | |
| 18 | #include "path.h" |
| 19 | |
| 20 | |
| 21 | struct p2d *path_to_poly(const struct path *path); |
| 22 | struct p2d *paths_to_polys_z(const struct path *paths, |
| 23 | double zmin, double zmax); |
| 24 | struct p2d *paths_to_polys(const struct path *paths); |
| 25 | |
| 26 | struct path *poly_to_path(const struct p2d *poly, double r_tool, double z); |
| 27 | struct path *polys_to_paths(const struct p2d *polys, double r_tool, double z); |
| 28 | |
| 29 | #endif /* !POLY2D_H */ |
| 30 |
Branches:
master
