&edge_list);1213//获取链表的数量14intcount;15UF_MODL_ask_list_count(edge_list, &count);1617for(inti =0; i < count; i++)18{19//获取链表里的tag20tag_t EdgeTag =NULL_TAG;21UF_MODL_ask_list_item(edge
//类型为内边界的时候40{41UF_MODL_ask_list_count(LoopChildList, &Num1);//查询链表数量4243for(intn =0; n < Num1; n++)44{45tag_t objTag =NULL_TAG;46UF_MODL_ask_list_item(LoopChildList, n, &objTag);//获取链表里的tag47edge.push_back(objTag);48}49}5051}5253sprintf_s(msg,"...
获取箭头指示的面的相邻面 源码: 1externDllExportvoidufsta(char*param,int*returnCode,intrlen)2{3UF_initialize();4tag_t tagFace=47466;5uf_list_p_t adjacent_faces;6UF_MODL_ask_adjac_faces(tagFace, &adjacent_faces);//获得相邻面7intlist_count =0;8UF_MODL_ask_list_count(adjacent_faces, &...
44 UF_MODL_ask_list_item(EdgeList, i, &EdgeTAG);//获得每条边的tag 45 sprintf_s(msg, "tag=%d\n", EdgeTAG); 46 UF_UI_write_listing_window(msg); 47 } 48 //删除链表 49 UF_MODL_delete_list(&EdgeList); 50 */ 51 //=== 52 /* 53 //特征找方向 54 double DirX[3]; 55 dou...
54 char *Edge_Len[3] = { "100", "100", "100" };//设置长宽高 55 tag_t BlkTag = NULL_TAG; 56 UF_MODL_create_block1(Sign, Corner_pt, Edge_Len, &BlkTag); 57 58 //特征找面 59 uf_list_p_t faceList; 60 UF_MODL_ask_feat_faces(BlkTag, &faceList); ...
{0.0,0.0,0.0};29char*Edge_len[3] = {"100","100","100"};30tag_t BlkTag =NULL_TAG;31UF_MODL_create_block1(Sign, Corner_pt, Edge_len, &BlkTag);3233//特征找体34tag_t BodyTag =NULL_TAG;35UF_MODL_ask_feat_body(BlkTag, &BodyTag);3637//创建射线(从点出发,向X方向,发射到块...
54 char *Edge_Len[3] = { "100", "100", "100" };//设置长宽高 55 tag_t BlkTag = NULL_TAG; 56 UF_MODL_create_block1(Sign, Corner_pt, Edge_Len, &BlkTag); 57 58 //特征找面 59 uf_list_p_t faceList; 60 UF_MODL_ask_feat_faces(BlkTag, &faceList); ...