www.mxdraw.com
|
从输入拟合点,起点和终点切向矢量和拟合偏差重新计算样条曲线
McGeNurbCurve2d& setFitData(const McGePoint2dArray& fitPoints, const McGeVector2d& startTangent, const McGeVector2d& endTangent, const McGeTol& fitTol = McGeContext::gTol, bool isPeriodic = false, bool isReCalcControlPoint = true);
参数 |
说明 |
const McGePoint2dArray& fitPoints |
输入新的拟合点 |
const McGeVector2d& startTangent |
输入新的起点切向矢量 |
const McGeVector2d& endTangent |
输入新的终点切向矢量 |
const McGeTol& fitTol = McGeContext::gTol |
输入样条曲线拟合插入点的偏差 |
bool isPeriodic = false |
是否闭合 |
bool isReCalcControlPoint = true |
暂没有使用 |
成功返回true