How do rotate a TopoDS_Shape for e.g. 1.57 radians...?
Rob Bachrach Mon, 02/06/2006 - 18:25
Create a gp_Trsf and use the SetRotation member to apply a rotation of 1.57 radians about the appropriate axis. Then, use BRepBuilderAPI_Transform to apply the transformation to your shape. Note that the rotation, by default, will happen about the origin (0,0,0).
Mon, 02/06/2006 - 18:25
Create a gp_Trsf and use the SetRotation member to apply a rotation of 1.57 radians about the appropriate axis. Then, use BRepBuilderAPI_Transform to apply the transformation to your shape. Note that the rotation, by default, will happen about the origin (0,0,0).
Mon, 02/06/2006 - 18:49
Many thanks!!