设置样条线的拟合数据
Mcad::ErrorStatus setFitData(const McGePoint3dArray& fitPoints, int degree, double fitTolerance, const McGeVector3d& startTangent, const McGeVector3d& endTangent, Mdesk::Boolean periodic = Mdesk::kFalse, bool isReCalcControlPoint = true);
参数 |
说明 |
const McGePoint3dArray& fitPoints |
样条线拟合点数组 |
int degree |
暂没有使用 |
const McGeVector3d& startTangent |
样条线开始位置处的切线向量 |
const McGeVector3d& endTangent |
样条线结束位置处的切线向量 |
tangentsExist |
暂没有使用 |
如果成功返回Mcad::eOk,如果传递的数据非法则返回Mcad::eInvalidInput