Mon, 09/17/2001 - 15:31
Forums:
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
Thu, 09/20/2001 - 14:14
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.
Michael.