Glad you can be in favor of .
However , If distance from point to curve is far enough away, such as must use light-years to desribe , this maximum distance lost meaning . I guess this is why autocad put the 'getfurthestpointfrom' function into .
I intended to create this function with some purpose in process of working with AutoCAD. I guess no one will draw entities so far away from checked point... As a matter a fact I already posted one possible usage of this function on
www.cadtutor.net (you may google it) and it was with normal demands of CAD (Computer Aided Design)...
BTW. I changed my last attached *.lsp with some minor modifications (checked point may not be in plane, but if curve is, it finds furthest point from projected check point onto WCS using (vlax-curve-getfurthestpointfrom2d) subfunction... Also turned off echoing of (vl-cmdf "_.CIRCLE" point pt) while computing inside subfunctions...
And finally make sure checked point is transformed into WCS coordinates before calculations begin (trans point 1 0) - so you may start function no matter what UCS is currently active...
[EDIT : I've checked (vlax-curve-getclosestpointto) for some random UCS, and it assumed that checked point is in WCS and returned point in WCS, so I returned back my function to work the same way...]
M.R.