1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

cameo: documented "area"; miscellaneous cleanup

Also removed the tool diameter argument. We use the diameter from the
path, like "offset" does. In the long run, this convention probably
doesn't make sense, though.
This commit is contained in:
Werner Almesberger
2012-03-18 21:00:08 -03:00
parent 6811df57b6
commit 489ca9c24d
5 changed files with 22 additions and 6 deletions

View File

@@ -313,12 +313,12 @@ static void fill_path(const struct path *paths, const struct path *path,
}
struct path *area(const struct path *path, double r_tool, double overlap)
struct path *area(const struct path *path, double overlap)
{
struct path *res = NULL;
if (!path)
return NULL;
fill_path(path, path_find_leftmost(path), r_tool, overlap, &res);
fill_path(path, path_find_leftmost(path), path->r_tool, overlap, &res);
return res;
}