vlax-curve-getclosestpointto


(vlax-curve-getclosestpointto curveEnt refPnt [ extend ] )

This function returns the 3d WCS point on curveEnt curve entity closest to specified refPnt point.

Arguments

curveEnt  (ename or vla-object) the COM object of any "curve" entity
refPnt  (list x y [ z ]) 2d/3d point in WCS;  input point for which to search the closest point on curveEnt curve
extend  (T/NIL, optional)  if T, if non-NIL, the curve is extended; default is NIL

Return

point (list x y z), in WCS;  the point on curveEnt, closest to specified refPnt point, or NIL

Example


Remarks




©  Bricsys NV. All rights reserved.