DiscussionsIssue archiveOther usage issues

Archived discussion

Rotate a TopoDS_Shape...

Other usage issuesMon, 02/06/2006 - 18:172 replies

Browse this forum
QuestionAuthor

How do rotate a TopoDS_Shape for e.g. 1.57 radians...?

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

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).

02Author

Many thanks!!