Lines Matching refs:DCN
213 #define DCN(I, J) dcn[(I)*dcuinc+(J)] in _math_de_casteljau_surf() macro
233 DCN(1, 0) = CN(1, 0, k) - CN(0, 0, k); in _math_de_casteljau_surf()
234 DCN(0, 0) = us * CN(0, 0, k) + u * CN(1, 0, k); in _math_de_casteljau_surf()
238 DCN(1, j + 1) = CN(1, j + 1, k) - CN(0, j + 1, k); in _math_de_casteljau_surf()
239 DCN(1, j) = vs * DCN(1, j) + v * DCN(1, j + 1); in _math_de_casteljau_surf()
242 DCN(0, j + 1) = us * CN(0, j + 1, k) + u * CN(1, j + 1, k); in _math_de_casteljau_surf()
243 DCN(0, j) = vs * DCN(0, j) + v * DCN(0, j + 1); in _math_de_casteljau_surf()
250 DCN(1, j) = vs * DCN(1, j) + v * DCN(1, j + 1); in _math_de_casteljau_surf()
253 DCN(0, j) = vs * DCN(0, j) + v * DCN(0, j + 1); in _math_de_casteljau_surf()
257 dv[k] = DCN(0, 1) - DCN(0, 0); in _math_de_casteljau_surf()
260 du[k] = vs * DCN(1, 0) + v * DCN(1, 1); in _math_de_casteljau_surf()
263 out[k] = vs * DCN(0, 0) + v * DCN(0, 1); in _math_de_casteljau_surf()
270 DCN(0, 1) = CN(0, 1, k) - CN(0, 0, k); in _math_de_casteljau_surf()
271 DCN(0, 0) = vs * CN(0, 0, k) + v * CN(0, 1, k); in _math_de_casteljau_surf()
274 DCN(i + 1, 1) = CN(i + 1, 1, k) - CN(i + 1, 0, k); in _math_de_casteljau_surf()
275 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); in _math_de_casteljau_surf()
278 DCN(i + 1, 0) = vs * CN(i + 1, 0, k) + v * CN(i + 1, 1, k); in _math_de_casteljau_surf()
279 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
286 DCN(i, 1) = us * DCN(i, 1) + u * DCN(i + 1, 1); in _math_de_casteljau_surf()
289 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
293 du[k] = DCN(1, 0) - DCN(0, 0); in _math_de_casteljau_surf()
296 dv[k] = us * DCN(0, 1) + u * DCN(1, 1); in _math_de_casteljau_surf()
299 out[k] = us * DCN(0, 0) + u * DCN(1, 0); in _math_de_casteljau_surf()
307 DCN(i, 0) = us * CN(i, 0, k) + u * CN(i + 1, 0, k); in _math_de_casteljau_surf()
309 DCN(i, j + 1) = us * CN(i, j + 1, k) + u * CN(i + 1, j + 1, k); in _math_de_casteljau_surf()
310 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
317 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
319 DCN(i, j + 1) = us * DCN(i, j + 1) + u * DCN(i + 1, j + 1); in _math_de_casteljau_surf()
320 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
325 du[k] = vs * (DCN(1, 0) - DCN(0, 0)) + v * (DCN(1, 1) - DCN(0, 1)); in _math_de_casteljau_surf()
328 dv[k] = us * (DCN(0, 1) - DCN(0, 0)) + u * (DCN(1, 1) - DCN(1, 0)); in _math_de_casteljau_surf()
331 out[k] = us * (vs * DCN(0, 0) + v * DCN(0, 1)) + in _math_de_casteljau_surf()
332 u * (vs * DCN(1, 0) + v * DCN(1, 1)); in _math_de_casteljau_surf()
339 DCN(i, 0) = us * CN(i, 0, k) + u * CN(i + 1, 0, k); in _math_de_casteljau_surf()
341 DCN(i, j + 1) = us * CN(i, j + 1, k) + u * CN(i + 1, j + 1, k); in _math_de_casteljau_surf()
342 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
349 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
351 DCN(i, j + 1) = us * DCN(i, j + 1) + u * DCN(i + 1, j + 1); in _math_de_casteljau_surf()
352 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
357 DCN(2, 0) = DCN(1, 0) - DCN(0, 0); in _math_de_casteljau_surf()
358 DCN(0, 0) = us * DCN(0, 0) + u * DCN(1, 0); in _math_de_casteljau_surf()
361 DCN(2, j + 1) = DCN(1, j + 1) - DCN(0, j + 1); in _math_de_casteljau_surf()
362 DCN(2, j) = vs * DCN(2, j) + v * DCN(2, j + 1); in _math_de_casteljau_surf()
365 DCN(0, j + 1) = us * DCN(0, j + 1) + u * DCN(1, j + 1); in _math_de_casteljau_surf()
366 DCN(0, j) = vs * DCN(0, j) + v * DCN(0, j + 1); in _math_de_casteljau_surf()
373 DCN(2, j) = vs * DCN(2, j) + v * DCN(2, j + 1); in _math_de_casteljau_surf()
376 DCN(0, j) = vs * DCN(0, j) + v * DCN(0, j + 1); in _math_de_casteljau_surf()
380 dv[k] = DCN(0, 1) - DCN(0, 0); in _math_de_casteljau_surf()
383 du[k] = vs * DCN(2, 0) + v * DCN(2, 1); in _math_de_casteljau_surf()
386 out[k] = vs * DCN(0, 0) + v * DCN(0, 1); in _math_de_casteljau_surf()
394 DCN(i, 0) = us * CN(i, 0, k) + u * CN(i + 1, 0, k); in _math_de_casteljau_surf()
396 DCN(i, j + 1) = us * CN(i, j + 1, k) + u * CN(i + 1, j + 1, k); in _math_de_casteljau_surf()
397 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
404 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
406 DCN(i, j + 1) = us * DCN(i, j + 1) + u * DCN(i + 1, j + 1); in _math_de_casteljau_surf()
407 DCN(i, j) = vs * DCN(i, j) + v * DCN(i, j + 1); in _math_de_casteljau_surf()
412 DCN(0, 2) = DCN(0, 1) - DCN(0, 0); in _math_de_casteljau_surf()
413 DCN(0, 0) = vs * DCN(0, 0) + v * DCN(0, 1); in _math_de_casteljau_surf()
416 DCN(i + 1, 2) = DCN(i + 1, 1) - DCN(i + 1, 0); in _math_de_casteljau_surf()
417 DCN(i, 2) = us * DCN(i, 2) + u * DCN(i + 1, 2); in _math_de_casteljau_surf()
420 DCN(i + 1, 0) = vs * DCN(i + 1, 0) + v * DCN(i + 1, 1); in _math_de_casteljau_surf()
421 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
428 DCN(i, 2) = us * DCN(i, 2) + u * DCN(i + 1, 2); in _math_de_casteljau_surf()
431 DCN(i, 0) = us * DCN(i, 0) + u * DCN(i + 1, 0); in _math_de_casteljau_surf()
435 du[k] = DCN(1, 0) - DCN(0, 0); in _math_de_casteljau_surf()
438 dv[k] = us * DCN(0, 2) + u * DCN(1, 2); in _math_de_casteljau_surf()
441 out[k] = us * DCN(0, 0) + u * DCN(1, 0); in _math_de_casteljau_surf()
444 #undef DCN in _math_de_casteljau_surf()