mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 18:21:08 +02:00
cameo/path.c (path_from), path.h: make public, for future sharing
This commit is contained in:
parent
4153e6b4e2
commit
445d8f7205
@ -57,7 +57,7 @@ struct path *path_new(double r_tool, const char *id)
|
||||
}
|
||||
|
||||
|
||||
static struct path *path_from(const struct path *old)
|
||||
struct path *path_from(const struct path *old)
|
||||
{
|
||||
struct path *new;
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*
|
||||
* path.h - Toolpath operations
|
||||
*
|
||||
* Written 2010-2012 by Werner Almesberger
|
||||
* Copyright 2010-2012 Werner Almesberger
|
||||
* Written 2010-2012, 2015 by Werner Almesberger
|
||||
* Copyright 2010-2012, 2015 Werner Almesberger
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -51,6 +51,7 @@ static inline int points_eq(const struct point *a, const struct point *b)
|
||||
|
||||
|
||||
struct path *path_new(double r_tool, const char *id);
|
||||
struct path *path_from(const struct path *old);
|
||||
void path_add(struct path *path, double x, double y, double z);
|
||||
struct path *path_reverse(const struct path *path);
|
||||
struct path *path_clone(const struct path *path);
|
||||
|
Loading…
Reference in New Issue
Block a user