UF_MODL_ask_linked_exterior (查看源代码)
 
定义在: uf_linked_exterior.h
 
概述
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.

参见
UF_MODL_create_linked_exterior
UF_MODL_edit_linked_exterior
UF_MODL_identify_exterior_using_hl
UF_MODL_identify_exterior_using_rays
UF_MODL_ask_all_members_of_set

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
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 ]
)
tag_t (tag_t类型)feature_tagInput(输入)Feature tag
UF_MODL_linked_ext_p_text_dataOutput to be freed
输出并释放
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.
int * (整数型指针)num_groupsOutput(输出)Number of groups this feature owns
tag_t * *groupsOutput to be freed
输出并释放
Groups this feature owns (may be null)
int * (整数型指针)num_subfeatsOutput(输出)Number of subfeatures this feature owns
tag_t * *subfeatsOutput to be freed
输出并释放
Subfeatures this feature owns (may be 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_create_linked_exterior (查看源代码)
 
定义在: uf_linked_exterior.h
 
概述
This function creates an Linked Exterior feature, and its
associated sheet bodies, in the same part as object_in_part. The
input faces will extracted as one or more, possibly disjoint,
regions. The xform gives the context for each face. Adjacent
faces which come from the same body and share an xform will be
joined into single sheet body. Input faces cannot be occurrences.
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.

参见
UF_MODL_ask_linked_exterior
UF_MODL_edit_linked_exterior
UF_MODL_identify_exterior_using_hl
UF_MODL_identify_exterior_using_rays

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
solid_modeling

 
int UF_MODL_create_linked_exterior
(
UF_MODL_linked_ext_p_t ext_data,
tag_t * feature_tag
)
UF_MODL_linked_ext_p_text_dataInput(输入)Feature data
tag_t * (tag_t型的指针)feature_tagOutput(输出)Feature tag

 


 
UF_MODL_edit_linked_exterior (查看源代码)
 
定义在: uf_linked_exterior.h
 
概述
This function edits a Linked Exterior feature.

参见
UF_MODL_create_linked_exterior
UF_MODL_ask_linked_exterior
UF_MODL_identify_exterior_using_hl
UF_MODL_identify_exterior_using_rays

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
solid_modeling

 
int UF_MODL_edit_linked_exterior
(
tag_t feature_tag,
UF_MODL_linked_ext_p_t ext_data
)
tag_t (tag_t类型)feature_tagInput(输入)Feature tag
UF_MODL_linked_ext_p_text_dataInput(输入)Feature data

 


 
UF_MODL_identify_exterior_using_hl (查看源代码)
 
定义在: uf_linked_exterior.h
 
概述
This function identifies Exterior Faces from the array of bodies using
a hidden line solution. The context of the bodies is determined from
the xforms given.

参见
UF_MODL_create_linked_exterior
UF_MODL_ask_linked_exterior
UF_MODL_edit_linked_exterior
UF_MODL_identify_exterior_using_rays

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
solid_modeling

 
int UF_MODL_identify_exterior_using_hl
(
int num_bodies,
tag_t * bodies,
tag_t * xforms,
int num_dirs,
double direction [ ] [ 3 ] ,
double chordal_tol,
int resolution,
int * num_faces,
tag_t * * faces,
int * * body_index
)
int (整数型)num_bodiesInput(输入)Number of tags in the bodies array.
tag_t * (tag_t型的指针)bodiesInput(输入)Array of body tags to identify faces from.
tag_t * (tag_t型的指针)xformsInput(输入)Array of xforms. One for each body,
determines the position of the body
relative to its source geometry.
NULL_TAG implies no transformation.
int (整数型)num_dirsInput(输入)Number of directions
double (实数型)direction [ ] [ 3 ] Input(输入)Direction to apply hidden line solution from
double (实数型)chordal_tolInput(输入)Chordal tolerance for edges
int (整数型)resolutionInput(输入)Determines how many hatch lines drawn
per face. May be one of:
UF_LINKED_HL_RES_COARSE
UF_LINKED_HL_RES_NORMAL
UF_LINKED_HL_RES_FINE
UF_LINKED_HL_RES_VERY_FINE
int * (整数型指针)num_facesInput / OutputNumber of tags in the faces array.
If input is > 0 will reallocate and add
external faces to existing output arrays
tag_t * *facesOutput to be freed
输出并释放
Array of face tags.
int * *body_indexOutput to be freed
输出并释放
Array of indices giving the body/xform
the face came from.

 


 
UF_MODL_identify_exterior_using_rays (查看源代码)
 
定义在: uf_linked_exterior.h
 
概述
This function identifies Exterior Faces from the array of transformed
bodies by firing a ray at each face. The context of the bodies is
determined from the xforms given. The code will not fire rays
at input faces already identified as exterior.

参见
UF_MODL_create_linked_exterior
UF_MODL_ask_linked_exterior
UF_MODL_edit_linked_exterior
UF_MODL_identify_exterior_using_hl

环境
Internal and External

历史
Released in V18.0
 
需要许可证(S)
solid_modeling

 
int UF_MODL_identify_exterior_using_rays
(
int num_bodies,
tag_t * bodies,
tag_t * xforms,
double origin [ 3 ] ,
double chordal_tol,
int ray_type,
int * num_faces,
tag_t * * faces,
int * * body_index
)
int (整数型)num_bodiesInput(输入)Number of tags in the bodies array.
tag_t * (tag_t型的指针)bodiesInput(输入)Array of body tags to identify faces from.
tag_t * (tag_t型的指针)xformsInput(输入)Array of xforms. One for each body,
determines the position of the body
relative to its source geometry.
NULL_TAG implies no transformation.
double (实数型)origin [ 3 ] Input(输入)Point to fire rays from from when
ray_type = UF_LINKED_RAY_FROM_POINT
double (实数型)chordal_tolInput(输入)Chordal tolerance for edges
int (整数型)ray_typeInput(输入)Determines orign of rays fired at each face.
May be one of:
UF_LINKED_RAY_ALONG_NORMS
UF_LINKED_RAY_ABOVE_NORMS
UF_LINKED_RAY_FROM_POINT
int * (整数型指针)num_facesInput / OutputNumber of tags in the faces array.
If input is > 0 will reallocate and add
external faces to existing output arrays
tag_t * *facesOutput to be freed
输出并释放
Array of exterior faces.
int * *body_indexOutput to be freed
输出并释放
Array of indices giving the body/xform
the face came from.