The undocumented function has a documented version:
sgm_get_close_points() you can find it in the docs; the tricky thing with this function is you need to call it twice (first time to find out how many points there are) Then you redim your array to receive the result.
sys_free_array(close_pts)
sys_free_array(pt_dist)
sys_allocate_array(close_pts,1,1) /* needed to stop error messages from PCL function */
The undocumented function has a documented version:
sgm_get_close_points() you can find it in the docs; the tricky thing with this function is you need to call it twice (first time to find out how many points there are) Then you redim your array to receive the result.
sys_free_array(close_pts)
sys_free_array(pt_dist)
sys_allocate_array(close_pts,1,1) /* needed to stop error messages from PCL function */