|
CDbList cdblist(ctrlpoints[0][0],ctrlpoints[0][1],ctrlpoints[0][2]);
CDbList DesPoints(0,0,0) ;
//累的初始化。。。CDbList 是一个类,前边已经定义
cdblist.m_current =cdblist.m_first;
cdblist.Next();
for(int i = 1;i<75;i++)
{
cdblist.Insert(ctrlpoints[i][0],ctrlpoints[i][1],ctrlpoints[i][2]);
cdblist.Next();
}
cdblist.m_current =cdblist.m_first;
Simplify(cdblist,DesPoints);//实现函数,问题在这里,对象cdblist可以作为参数传递给函数Simplify作为参数吗?它能够把所有的之都传递过去吗?
请高手解答! |
|