
Mon, 02/12/2001 - 17:44
Forums:
Dear Sir!
In shape object , I would like to do local rotation.
why In opencascade, only support world base roation.
Then, I have to implement local rotation.
that is : i have to move object to world coordinate (0,0,0) and i have to do local roation.
and i have to move object 0,0,0 to local coorinate.
I would like to solve this problem..
why not support local roation?..
thanks..
Mon, 02/12/2001 - 19:42
try looking at one of the samples... i think it was called SampleTopologyTransformation
a matrix for 3D is used to alter orientation, position and scale of shapes and objects. you need to generate gp_Trnsf (or was it gp_Trnf) objects for these.
don't know of any alternatives yet for now.
don't know if rounding off errors in the matrices might accumulate and distort your shape ultimately too.