Have a look at the gp_Trsf and BRepBuilderAPI_Transform classes.I believe you will find there what you are looking for.
Greetings
Commenter-1
Archived discussion
If I build a BRep..Shape and just want to move it around the screen, what's the easiest way to do this? As an example, I have a shape created by BRepPrimAPI_MakeSphere() or a shape created with AIS_Shape, and at some point I want to move it from the origin to some cartesian coordinate, say, 1.0 1.0 1.0. Just a simple move. I can't figure out how to do this.
HELP! :)
Thanks, Fred
Discussion
Posts are displayed in their archived order.
Have a look at the gp_Trsf and BRepBuilderAPI_Transform classes.I believe you will find there what you are looking for.
Greetings
Commenter-1