UF_MODL_ask_linked_exterior
Defined in: uf_linked_exterior.h
int UF_MODL_ask_linked_exterior(tag_t feature_tag, UF_MODL_linked_ext_p_t ext_data, int * num_groups, tag_t * * groups, int * num_subfeats, tag_t * * subfeats, double mass_props [ 47 ] )
overview 概述
This function reads the data of a Linked Exterior feature. This feature is implemeted as a feature set which owns hidden subfeatures similar to Linked Regions. The subfeatures should not be edited or deleted individually. Bodies are owned by the hidden subfeatures.
此函数读取链接外部特性的数据。这个特性是作为一个特性集来实现的,它拥有类似于链接区域的隐藏子特性。子特性不应该单独编辑或删除。身体由隐藏的子特征所拥有。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | feature_tag | Input | Feature tag 特写标签 |
| UF_MODL_linked_ext_p_t | ext_data | Output to UF_free | Feature data. The caller defines the UF_MODL_linked_ext_t structure, and pass in a pointer to it. This routine will fill in the structure based on the feature tag. The caller is responsible for freeing any data returned in arrays. 特征数据。调用方定义 UF _ MODL _ link _ ext _ t 结构,并传入指向它的指针。这个例程将根据特征标记填充结构。调用方负责释放数组中返回的任何数据。 |
| int * | num_groups | Output | Number of groups this feature owns 此特性拥有的组数 |
| tag_t * * | groups | Output to UF_free | Groups this feature owns (may be null) 这个特性所拥有的组(可能为空) |
| int * | num_subfeats | Output | Number of subfeatures this feature owns 这个特性拥有的子特性的数量 |
| tag_t * * | subfeats | Output to UF_free | Subfeatures this feature owns (may be null) 这个特性拥有的子特性(可能是 null) |
| double | mass_props [ 47 ] | Output | Mass properties (same as UF_MODL_ask_mass_props_3d) [0] = Surface Area [1] = Volume [2] = Mass [3-5] = Center Of Mass (COFM), WCS [6-8] = First Moments (centroidal) [9-11] = Moments Of Inertia, WCS [12-14] = Moments Of Inertia (centroidal) [15] = Spherical Moment Of Inertia [16-18] = Inertia Products, WCS [19-21] = Inertia Products (centroidal) [22-30] = Principal Axes, WCS [31-33] = Principal Moments (centroidal) [34-36] = Radii Of Gyration, WCS [37-39] = Radii Of Gyration (centroidal) [40] = Spherical Radius Of Gyration [41-45] = Unused [46] = Density 质量性质(与 UF _ MODL _ ask _ Mass _ props _ 3d 相同)[0] = 表面积[1] = 体积[2] = 质量[3-5] = 质心(COFM) ,wCS [6-8] = 第一矩(质心)[9-11] = 惯性矩,WCS [12-14] = 惯性矩(质心)[15] = 球面转动惯量[16-18] = 惯性积,wCS [19-21] = 惯性积(质心)[22-30] = 主轴,WCS [31-33] = 主矩(质心)[34-36] = 回转半径,wCS [37-39] = 回转半径(质心)[40] = 球形回转半径[41-45] = 未使用[46] = 密度 |