Warning: file(datafile/online) [function.file]: failed to open stream: No such file or directory in /home/all2one/public_html/bbs/topic.php on line 200
阳光精品论坛 > 『 CAD 专栏 』 > UF_CURVE_create_spline_thru_pts 的用法实例
/* Arrays of user's defining point data */ double parameters[NUMBER_POINTS] = {0.00, 0.89, 1.73, 2.23, 2.85}; int i, save_def_data = 1; tag_t spline_tag;
/* Create B-spline curve */ UF_CALL(UF_CURVE_create_spline_thru_pts(degree, periodicity, num_points, point_data, parameters, save_def_data, &spline_tag)); } /*ARGSUSED*/ void ufusr(char *param, int *retcode, int paramLen) { if (!UF_CALL(UF_initialize())) { do_ugopen_api(); UF_CALL(UF_terminate()); } } int ufusr_ask_unload(void) { return (UF_UNLOAD_IMMEDIATELY); }