UF_MODL_ask_body_consistency
Defined in: uf_modl.h
int UF_MODL_ask_body_consistency(tag_t body_tag, int * num_tags, int * * fault_tokens, tag_t * * fault_tags )
overview 概述
A geometry check routine. Determine whether the body provided by the caller passes the consistency check. This routine should be called before UF_MODL_ask_face_face_intersect.
几何检查程序。确定调用方提供的主体是否通过了一致性检查。这个例程应该在 UF _ MODL _ ask _ face _ face _ intersect 之前调用。
UFUN例子
获取源码例子请搜索 里海NX二次开发3000例专栏
parameters 参数
| tag_t | body_tag | Input | body tag 身体标签 |
| int * | num_tags | Output | The number of faces/edges in the input body which don't pass the consistency check. 输入体中未通过一致性检查的面/边的数量。 |
| int * * | fault_tokens | Output to UF_free | Array of fault tokens. Each token is a UF_MODL error code, which can be translated to a string by passing it to UF_get_fail_message. This array must be freed by calling UF_free. 错误令牌数组。每个令牌都是 UF _ MODL 错误代码,可以通过将其传递给 UF _ get _ fall _ message 将其转换为字符串。必须通过调用 UF _ free 来释放此数组。 |
| tag_t * * | fault_tags | Output to UF_free | Array of tags of faces/edges which don't pass the consistency check This array must be freed by calling UF_free. 未通过一致性检查的面/边的标记数组此数组必须通过调用 UF _ free 来释放。 |