Posted on 2012-06-21 21:53
eryar 阅读(1994)
评论(0) 编辑 收藏 引用
在Mathematica软件中,使用函数BSplineCurve来根据控制顶点绘制NURBS曲线。
BSplineCurve的默认选项有如下:
- By default, BSplineCurve uses cubic splines;
- By default, knots are chosen uniformly in parameter space, with additional knots added so that the curve starts at the first control point and ends at the last one;
- With the default setting SplineWeights->Automatic, all control points are chosen to have equal weights, corresponding to a polynomial B-spline curve;
基本实例:
圆的NURBS曲线表示:
不同节点矢量和权因子的情况:
情况2:
使用软件可对书中的理论进行验证,加深对知识点的理解。