annotate src/of-nurbs-1-fixes.patch @ 3899:1778bfc775d2

Add nurbs package * src/of-nurbs.mk: new file * src/of-nurbs-1-fixes.patch: new file * Makefile.in: add nurbs * index.html: add nurbs package * dist-files.mk: add of-nurbs.mk, of-nurbs-1-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Mon, 13 Apr 2015 06:40:23 -0400
parents
children 385f5f4412b7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3899
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 diff -ur nurbs.orig/src/nrbsurfderiveval.cc nurbs/src/nrbsurfderiveval.cc
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 --- nurbs.orig/src/nrbsurfderiveval.cc 2015-04-13 06:35:14.000000000 -0400
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3 +++ nurbs/src/nrbsurfderiveval.cc 2015-04-13 06:36:26.000000000 -0400
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 @@ -120,7 +120,7 @@
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 Array<idx_vector> idx(dim_vector (3, 1), idx_vector(':'));
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 idx (0) = idx_vector (3);
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 - Matrix weights (NDArray (coefs.index (idx).squeeze ()).matrix_value ());
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 + Matrix weights (NDArray (coefs.index (idx).squeeze ()));
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 for (octave_idx_type iu(0); iu<uv.cols (); iu++)
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 {
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 @@ -132,7 +132,7 @@
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 {
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 Matrix Aders; idx(0) = idx_vector (idim);
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 - Matrix P (NDArray (coefs.index (idx).squeeze ()).matrix_value ());
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 + Matrix P (NDArray (coefs.index (idx).squeeze ()));
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 surfderiveval (n, p, knotsu, m, q, knotsv, P, uv(0,iu), uv(1,iu), d, Aders);;
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20
1778bfc775d2 Add nurbs package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 for (octave_idx_type k(0); k<=d; k++)