Robot obstacle avoidance by geometric modeling techniques