This additionally checks if the gradient points inside of the admissble set for those entries touching the obstacle.