A geometric approach for fast affordance determination in 3D