How can I distinguish between a selected Topological shape and others like the AIS_Line and AIS_Circle? Suppose I have created two objects, one box and one circle. I have used AIS_Shape for box and AIS_Circle for the circle. Now I have a menu for translation. I have to use the appropriate transformation methods for the box using BRep transformation and some different method for transforming the circle. The problem is that how do I differentiate what is selected and use the appropriate transformation for both.