
Mon, 11/19/2007 - 19:08
Forums:
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
Mon, 11/19/2007 - 21:57
Have a look at the gp_Trsf and BRepBuilderAPI_Transform classes.I believe you will find there what you are looking for.
Greetings
Fotis