Hallo,
I am using the function ON_EvaluateNurbsDeBoor(int cv_dim, int order, int cv_stride, double *cv, const double *knots, int side, double mult_k, double t), which I have integrated (copy pasted) in the software environment of kratos in order to evaluate the shape functions of the following object:
Control Points / Control Vertices:
1,1 -1.3012,0.66285,0 W=1
1,2 -1.3012,0.66285,1.3176 W=1
2,1 -0.81015,0.76105,0 W=0.70711
2,2 -0.81015,0.76105,1.3176 W=0.70711
3,1 -0.90835,1.2521,0 W=1
3,2 -0.90835,1.2521,1.3176 W=1
4,1 -1.0065,1.7431,0 W=0.70711
4,2 -1.0065,1.7431,1.3176 W=0.70711
5,1 -1.4976,1.6449,0 W=1
5,2 -1.4976,1.6449,1.3176 W=1
Knot Vector u
1 0
2 0
3 1
4 1
Knot Vector v
1 0
2 0
3 0
4 0.5
5 0.5
6 1
7 1
8 1
Degree
u-Direction : 1
v-Direction : 2
My question is, what do I have to provide the function as cv_stride and what is mult_k? Furthermore I want to know, which way I pass the double *cv to the function? (1.CV_x, 1.CV_y, 1.CV_z, 2.CV_x,… or other?)
Thanks in advance!
Matthias