Next: 7.24 data/examples/nurbsor1.dat
Up: 7. Source Files
Previous: 7.22 data/examples/nurbcurv2.dat
  Contents
  Index
7.23 data/examples/nurbcurv3.dat
/*
* FILE: nurbcurv3.dat
*
* creates a quadratic curve with a clamped knot vector
*
*/
cpts = ((0,0,0,1), (0.25, 0.3, 0, 1), (0.75, 0.3, 0, 1), (1,0,0,1));
curv1 = NURBCURV(
( 0., 0., 0., 0.5, 1., 1., 1. ),
cpts
);
poly1 = POLYLINE_H3(cpts);
SCENEROOT = SCENENODE( (), (ATTRIBS(LINECOLOR((1,0,0,1)))), (curv1,poly1) );
Next: 7.24 data/examples/nurbsor1.dat
Up: 7. Source Files
Previous: 7.22 data/examples/nurbcurv2.dat
  Contents
  Index
Administrator
2002-01-20