tree closest point (temp)
refactor segment, pc, closest point
tree closest point