马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
logical rect_pocket_is_deep(tag_t feat)
{
int edit=0;
char *length;
char *corner_rad;
char *floor_rad;
char *taper_angle;
char **ptr;
char *lhs_str;
char *rhs_str;
char *endptr;
tag_t exp_tag;
double depth;
logical logic;
UF_MODL_ask_rect_pocket_parms(feat,edit,[$length,&corner_rad,&floor_rad,&taper_angle)]
ptr=[$length]
ptr=ptr+2;
UF_MODL_dissect_exp_string(*ptr,[$lhs_str,&rhs_str,&exp_tag)]
depth=strtod(rhs_str,[$endptr)]
logic=(depth>1);
return logic;
}
大家帮帮我吧 |