vlax-curve-getClosestPointTo (AutoLISP/ActiveX)
返回最接近指定点的曲线上的点(以 WCS 为单位) 支持的平台:仅限 Windows;在 Mac OS 或 Web 上不可用 签名(vlax-curve-getClosestPointTo curve-obj givenPnt [extend])
返回值类型:列出或无 表示曲线上一个点的 3D 点(如果成功);否则。nil 例子假设被测曲线是下图中的圆弧: ![]() 将圆弧上最近的点返回坐标 6.0, 0.5: (vlax-curve-getClosestPointTo arcObj '(6.0 0.5 0.0)) (6.0 1.5 0.0) 延长圆弧后,将圆弧上最近的点返回到坐标 6.0, 0.5: (vlax-curve-getClosestPointTo arcObj '(6.0 0.5 0.0) T) (5.7092 0.681753 0.0) |
|Archiver|CAD开发者社区
( 苏ICP备2022047690号-1 苏公网安备32011402011833)
GMT+8, 2025-3-14 07:41
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.