请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!
您需要 登录 才可以下载或查看,没有账号?注册
×
4 i6 E0 y( @" F0 s! ~, q# b
) u3 n/ R. S. r: M# w+ m( @1 }2 _7 C! Q( Z. C* L- `2 A3 b5 v
1)平移uf5943 2)缩放uf5944 3)旋转uf5945 double matrix [ 16 ]; int status; double angle=0;//旋转角度 uf5945(center,dir,&angle,matrix,&status); //center物体中心,dir法向 const int objects=1;//数量 const int move=1;// 1 :复制 2 :粘贴 const int layer=-1; //0:最初层; -1: 工作层;1 - 256 : 指定层 const int trace_curves=2; //轨迹状态,1 开, 2 关 uf5947(matrix,&obj_tag,&n_objects,&move, &layer,&trace_curves,NULL,NULL,&status); 4)投影uf5946 double matrix [ 16 ]; int status; uf5946(object,matrix,&status);//object:投影面或线,dir法向 const int objects=1;//数量 const int move=1;// 1 :复制 2 :粘贴 const int layer=-1; //0:最初层; -1: 工作层;1 - 256 : 指定层 const int trace_curves=2; //轨迹状态,1 开, 2 关 uf5947(matrix,&obj_tag,&n_objects,&move, &layer,&trace_curves,NULL,NULL,&status); 5)偏移相加 uf5942 2 U5 H5 [$ {/ U7 ]$ Z% z! r4 l, j& @' n
|