Module gr_bspline


Name:
gr_bspline - a GRToolbox module
Description:
Calculates bspline curve. Input points
will be taken as controlpoints for the de-boor algorithm.
Synopsis:
-[n rh o v noc nof now skip f m c e i s l]
-help For help on all options.
Special Options:
-n int number of points between to ctrl-points.
-r int degree of bsplines
Example Input Data:
1 0
3 4
5 2
8 9
10 3
&
0 1
2 3
3 4
4 9
Example Output Data:
1 0
1.00033 0.000666667
1.00267 0.00533333
1.009 0.018
1.02133 0.0426667
1.04167 0.0833333
1.072 0.144
1.11433 0.228667
1.17067 0.341333
1.243 0.486
1.33333 0.666667
1.443 0.885
1.57067 1.13333
1.71433 1.40167
1.872 1.68
2.04167 1.95833
2.22133 2.22667
2.409 2.475
2.60267 2.69333
2.80033 2.87167
3 3
3.20017 3.0725
3.40133 3.1
3.6045 3.0975
3.81067 3.08
4.02083 3.0625
4.236 3.06
4.45717 3.0875
4.68533 3.16
4.9215 3.2925
5.16667 3.5
5.42133 3.79133
5.684 4.15067
5.95267 4.556
6.22533 4.98533
6.5 5.41667
6.77467 5.828
7.04733 6.19733
7.316 6.50267
7.57867 6.722
7.83333 6.83333
8.07817 6.8215
8.312 6.69867
8.53383 6.48383
8.74267 6.196
8.9375 5.85417
9.11733 5.47733
9.28117 5.0845
9.428 4.69467
9.55683 4.32683
&
0 1
0.000333333 1.00033
0.00266667 1.00267
0.009 1.009
0.0213333 1.02133
0.0416667 1.04167
0.072 1.072
0.114333 1.11433
0.170667 1.17067
0.243 1.243
0.333333 1.33333
0.442833 1.44283
0.569333 1.56933
0.709833 1.70983
0.861333 1.86133
1.02083 2.02083
1.18533 2.18533
1.35183 2.35183
1.51733 2.51733
1.67883 2.67883
1.83333 2.83333
1.9785 2.97917
2.11467 3.12
2.24283 3.26083
2.364 3.40667
2.47917 3.5625
2.58933 3.73333
2.6955 3.92417
2.79867 4.14
2.89983 4.38583
3 4.66667
3.09983 4.98517
3.19867 5.33467
3.2955 5.70617
3.38933 6.09067
3.47917 6.47917
3.564 6.86267
3.64283 7.23217
3.71467 7.57867
3.7785 7.89317



Back to List of all GR Modules.