summaryrefslogtreecommitdiff
path: root/lib/spline.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spline.c')
-rw-r--r--lib/spline.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/spline.c b/lib/spline.c
index e3a28c8..454f409 100644
--- a/lib/spline.c
+++ b/lib/spline.c
@@ -1,20 +1,21 @@
-/* spline.c: spline and spline list (represented as arrays) manipulation.
+# spline.c: spline and spline list (represented as arrays) manipulation.
+#
+# Copyright (C) 1992, 2011 Free Software Foundation, Inc.
+#
+# 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
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
-Copyright (C) 1992, 2011 Free Software Foundation, Inc.
-
-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
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "config.h"
@@ -65,7 +66,6 @@ print_spline (FILE *f, spline_type s)
-
/* Evaluate the spline S at a given T value. This is an implementation
of de Casteljau's algorithm. See Schneider's thesis (reference in
../limn/README), p.37. The variable names are taken from there. */
@@ -94,7 +94,7 @@ evaluate_spline (spline_type s, real t)
-
+
/* Return a new, empty, spline list. */
spline_list_type *
@@ -171,7 +171,7 @@ concat_spline_lists (spline_list_type *s1, spline_list_type s2)
}
-
+
/* Return a new, empty, spline list array. */
spline_list_array_type