明经通道 Visual LISP 函数  
vlax-curve-getStartPoint
 

返回曲线的开始点(在 WCS 中)

(vlax-curve-getStartPoint curve-obj)

参数

curve-obj

要测量的 VLA 对象。

返回值

如果成功,则返回表示开始点的三维点表,否则返回 nil。

示例

获取 vlax-curve-getArea 样例中椭圆的开始点:

_$ (vlax-curve-getStartPoint ellipseObj)
(2.0 2.0 0.0)

对于椭圆,起点和端点圆弧是相同的。

获取 vlax-curve-getDistAtParam 样例中样条曲线的开始点:

_$ (vlax-curve-getStartPoint splineObj)
(1.73962 2.12561 0.0)

明经通道 版权所有 未经许可 不得传播

 评论