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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user