- 积分
- 4522
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 好友
|
沙发
楼主 |
发表于 2012-3-20 16:43:09
|
只看该作者
double origin[3] = {0.0,0.0,0.0};
char *hight_exp = "hight=500.0";
UF_MODL_create_exp(hight_exp);
char *diam[2] = {"base=60.0","top=20.0"};
UF_MODL_create_exp(diam[0]);
UF_MODL_create_exp(diam[1]);
double direction[3] = {0.0,0.0,1.0};
char *p_exp_str[3] = {"hight", "base", "top"};
tag_t cone_tag;
UF_MODL_create_cone1(UF_NULLSIGN,origin,p_exp_str[0],&p_exp_str[1],direction,&cone_tag); |
|