added point-plane test to determine whether to add or subtract radius