Real-time grasp synthesis of polygonal objects for multifingered robot hands