Manipulate virtual object, for trajectory planning of real object, haptic display