DiscussionsIssue archiveOther usage issues

Archived discussion

Project a face on a plane Z=0

Other usage issuesMon, 09/17/2001 - 15:311 reply

Browse this forum
QuestionAuthor

Hi I want to project a Face on plane Z=0. For that purpose , I create a Transformation using gp_Trsf. This transformation must be ((1,0,0) (0,1,0) (0,0,0)) Then I use de gp_Trsf::SetValues(). This function compute the determinant of the matrix which is 0 and then divide the matrix. Finally the gp_Trsf is composed by NAN/Infinity values;

xav

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

gp_Trsf doesn't support affinity transformations. Use gp_GTrsf for that. To apply a general transformation to a shape use the class BRepBuilderAPI_GTransform. You can test it in Draw with the command deform.

Commenter-1.