关于UG二次开发函数UF_CURVE_create_spline_thru_pts中的参数的意义

来源:百度知道 编辑:UC知道 时间:2024/07/07 20:43:16
用ug二次开发创建样条曲线,用到这个函数UF_CURVE_create_spline_thru_pts,其中有一个参数是double parameters [ ],问一下,这个参数表示的是什么意思?
该参数在ug help中给出的解释是:
parameters of input points. This is a user specified
parameterization for the input points, which needs to be
monotonic increasing (i.e. parameters(i) < parameters(i+1)
for all i), but does not need to be normalized, if NULL
then the default parameterization will be used.

parameters of input points. This is a user specified
parameterization for the input points, which needs to be
monotonic increasing (i.e. parameters(i) < parameters(i+1)
for all i), but does not need to be normalized, if NULL
then the default parameterization will be used.

字面含义:
输入点的参数,是一个用户特定输入,单调增加特性点的参数(例如,对于所有i,参数(i)<参数(i+1)),但又不是标准化的参数。如果为空,将使用默认参数。
相关建议:
PT 是一JAVA 工具,帮助捕捉关键表达式、草图和其它信息到用户界面并嵌入到称为模板的部件模型中。 但是,通过模型编辑去修改参数化设计,了解一个有成百或甚至成千表达式的部件,无疑是复杂和困难的。然而,这些部件模板,在UG NX中,经过PTS(一个参数化模型的关键参数)可以读取、修改、转换,因此,新的设计模型可以快速创建起来。

哇!