文件名称:CardinalTest
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:2.33kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Spline类就是Cardinal样条曲线了,这个类里面记录了4个控制点:m_startControlPoint, m_startPoint, m_endPoint, m_endControlPoint, 分别按顺序对应Pk-1, Pk, Pk+1, Pk+2, 由于Cardinal是用多个线段去模拟曲线,所以我们在这里取20个点,这样,在Pk 和 Pk+1之间,有20个样本点,用画直线的方法将这些点按顺序连起来,连成的曲线段就是我们所要的Cardinal 曲线了-Spline class is Cardinal spline curve, and the class which recorded four control points: m_startControlPoint, m_startPoint, m_endPoint, m_endControlPoint, respectively, the corresponding sequence Pk-1, Pk, Pk+1, Pk+2, the Cardinal is more than a line to the simulation curve, we get 20 points here, so between the Pk and Pk+1, 20 sample points, with the draw line method in order to link these points, and even into the curve segment Cardinal is we want the curve
相关搜索: m_cutpointstart
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CardinalTest.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.