[求助]样条曲线的节点坐标怎样求出?
<P>一样条曲线怎样把各节点的坐标赋出,如多段线用如下一样</P><P>retCoord = returnobj.Coordinates<BR> For Number = LBound(retCoord) To UBound(retCoord) + 2 - 2 Step 2<BR> pt1(k) = retCoord(Number)<BR> pt1(k + 1) = retCoord(Number + 1)<BR> pt1(k + 2) = gc<BR> k = k + 3<BR>Next</P> <P>样条曲线和多段线有点不一样,只能使用控制点坐标或拟合点坐标</P>
<P>以下是控制点,拟合点不一定有,先要判断是否有</P>
<P>For index = 0 To lin.NumberOfControlPoints - 1</P>
<P> lin.GetControlPoint(index)</P>
<P>next</P>
<P>或者用ControlPoints属性</P>
页:
[1]