vlax-curve-getclosestpointtoprojection


(vlax-curve-getclosestpointtoprojection curveEnt refPnt planeNormal [ extend ] )

This function returns the 3d WCS point on curveEnt curve entity closest to specified refPnt point and projected to the plane specified by planeNormal.

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
planeNormal  (list x y z) plane's normal vector in WCS
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 and projected on target plane, or NIL

Example


Remarks




©  Bricsys NV. All rights reserved.