|
马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
double rp1[3];//delta increase
double rr2[16]; //translation matrix
int ip3 = 1; // number of objects in np2 arry
int ip4 =1;// 1 move, 2 copy
int ip5 =0 ;// 0 original layer, 1 the work layer
int ip6 =2; //Trace curve status, 1 on, 2 off
tag_t nr7;// useless if ip4 =1
tag_t nr8;// useless if ip6 =2
int ir9;// status
rp1[0]= 0.02;
rp1[1]= 0.0;
rp1[2]= 0.0;
for(i=1; i<100000;i++)
{
uf5943_( rp1,rr2 ); // returns the linear transformation matrix;
uf5947_(
rr2,
transform_array_tags,
&ip3,
&ip4,
&ip5,5943
&ip6,
&nr7,
&nr8,
[$ir9) ]
};
//////////////////////////////////////////////////////////////////////////////
transform_array_tags 是用
UF_CALL ( UF_MODL_create_revolved(
list_of_obj_tobe_revolved,
limit,
 oint,
direction,
sign,
[$list_of_feat_output) )]
UF_CALL (UF_MODL_ask_list_item(list_of_feat_output, j, [$ttt) )]
UF_CALL ( UF_MODL_ask_feat_body ( ttt, [$revolved_tag ))]
得到的实体. 以及其原母线. |
|