uf5063 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5063 create an arc through three points
replaced by UF_CURVE_create_arc_thru_3pts
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5063
(
int * ip1,
double * rp2,
double * rp3,
double * rp4,
tag_t * nr5
)
int * (整数型指针) ip1
double * (实数型指针) rp2
double * (实数型指针) rp3
double * (实数型指针) rp4
tag_t * (tag_t型的指针) nr5

 


 
uf5070 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5070 create conic
replaced by UF_CURVE_convert_conic_to_std and UF_CURVE_create_conic
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5070
(
double * rp1,
double * rp2,
double * rp3,
double * rp4,
double * rp5,
double * rp6,
double * ra7,
double * ra8,
double * rp9,
tag_t * nr10
)
double * (实数型指针) rp1
double * (实数型指针) rp2
double * (实数型指针) rp3
double * (实数型指针) rp4
double * (实数型指针) rp5
double * (实数型指针) rp6
double * (实数型指针) ra7
double * (实数型指针) ra8
double * (实数型指针) rp9
tag_t * (tag_t型的指针) nr10

 


 
uf5071 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5071 read conic real data
replaced by UF_CURVE_ask_conic_data
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5071
(
tag_t * np1,
double * rar2
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rar2

 


 
uf5072 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5072 edit conic real data
No replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5072
(
tag_t * np1,
double * ra2
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) ra2

 


 
uf5072x (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5072x edit conic real data without update
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5072x
(
tag_t * np1,
double * ra2
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) ra2

 


 
uf5073 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5073 read conic data
Replaced by UF_CURVE_ask_conic_data and UF_CURVE_convert_conic_to_gen
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5073
(
tag_t * np1,
double * rr2,
double * rr3,
double * rr4,
double * rr5,
double * rr6,
double * rr7,
double * rar8,
double * rar9,
double * rr10
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rr2
double * (实数型指针) rr3
double * (实数型指针) rr4
double * (实数型指针) rr5
double * (实数型指针) rr6
double * (实数型指针) rr7
double * (实数型指针) rar8
double * (实数型指针) rar9
double * (实数型指针) rr10

 


 
uf5074 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5074 edit conic data
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5074
(
tag_t * np1,
double * rp2,
double * rp3,
double * rp4,
double * rp5,
double * rp6,
double * rp7,
double * ra8,
double * ra9,
double * rp10
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) rp3
double * (实数型指针) rp4
double * (实数型指针) rp5
double * (实数型指针) rp6
double * (实数型指针) rp7
double * (实数型指针) ra8
double * (实数型指针) ra9
double * (实数型指针) rp10

 


 
uf5074x (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5074x edit conic data without update
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5074x
(
tag_t * np1,
double * rp2,
double * rp3,
double * rp4,
double * rp5,
double * rp6,
double * rp7,
double * ra8,
double * ra9,
double * rp10
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) rp3
double * (实数型指针) rp4
double * (实数型指针) rp5
double * (实数型指针) rp6
double * (实数型指针) rp7
double * (实数型指针) ra8
double * (实数型指针) ra9
double * (实数型指针) rp10

 


 
uf5075 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5075 create conic
Replaced by UF_CURVE_create_conic
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5075
(
int * ip1,
double * rp2,
tag_t * np3,
tag_t * nr4
)
int * (整数型指针) ip1
double * (实数型指针) rp2
tag_t * (tag_t型的指针) np3
tag_t * (tag_t型的指针) nr4

 


 
uf5080 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5080 create spline
Replace by UF_MODL_create_fitted_spline
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5080
(
int * ip1,
int * ip2,
double * rp3,
tag_t * nr4
)
int * (整数型指针) ip1
int * (整数型指针) ip2
double * (实数型指针) rp3
tag_t * (tag_t型的指针) nr4

 


 
uf5081 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5081 create spline using complete definition
Replaced by UF_CURVE_create_spline_thru_pts
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5081
(
int * ip1,
int * ip2,
double * rp3,
double * rp4,
double * rp5,
tag_t * nr6
)
int * (整数型指针) ip1
int * (整数型指针) ip2
double * (实数型指针) rp3
double * (实数型指针) rp4
double * (实数型指针) rp5
tag_t * (tag_t型的指针) nr6

 


 
uf5082 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5082 read spline data
Replaced by UF_CURVE_ask_spline_thru_pts
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5082
(
tag_t * np1,
int * ip2,
double * rr3,
double * rar4,
double * rar5
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ip2
double * (实数型指针) rr3
double * (实数型指针) rar4
double * (实数型指针) rar5

 


 
uf5083 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5083 edit spline data
Replaced by UF_CURVE_edit_spline_thru_pts and
UF_CURVE_edit_move_mult_points
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5083
(
tag_t * np1,
int * ip2,
double * rp3,
double * ra4,
double * ra5
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ip2
double * (实数型指针) rp3
double * (实数型指针) ra4
double * (实数型指针) ra5

 


 
uf5083x (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5083x edit spline data without update
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5083x
(
tag_t * np1,
int * ip2,
double * rp3,
double * ra4,
double * ra5
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ip2
double * (实数型指针) rp3
double * (实数型指针) ra4
double * (实数型指针) ra5

 


 
uf5084 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5084 add spline knot point
Replaced by UF_CURVE_ask_spline_thru_pts and UF_CURVE_edit_spline_thru_pts
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5084
(
tag_t * np1,
double * rp2,
double * ra3,
double * ra4
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) ra3
double * (实数型指针) ra4

 


 
uf5085 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5085 count spline knot points
Replaced by UF_CURVE_ask_spine_thru_pts
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int uf5085
(
tag_t * np1
)
tag_t * (tag_t型的指针) np1

 


 
uf5445 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5445 create spline
Replaced by UF_MODL_create_spline
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5445
(
int * ip1,
int * ip2,
int * ip3,
int * ip4,
double * rp5,
double * rp6,
tag_t * nr7
)
int * (整数型指针) ip1
int * (整数型指针) ip2
int * (整数型指针) ip3
int * (整数型指针) ip4
double * (实数型指针) rp5
double * (实数型指针) rp6
tag_t * (tag_t型的指针) nr7

 


 
uf5446 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5446 read spline data
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5446
(
tag_t * np1,
int * ir2,
int * ir3,
int * ir4,
int * ir5,
double * rr6,
double * rr7
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ir2
int * (整数型指针) ir3
int * (整数型指针) ir4
int * (整数型指针) ir5
double * (实数型指针) rr6
double * (实数型指针) rr7

 


 
uf5447 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5447 create spline from points on curve or
Replace by UF_CURVE_create_spline_thru_pts and UF_CURVE_create_spline
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5447
(
int * ip1,
int * ip2,
int * ip3,
int * ip4,
double * rp5,
double * rp6,
tag_t * nr7,
int * ir8
)
int * (整数型指针) ip1
int * (整数型指针) ip2
int * (整数型指针) ip3
int * (整数型指针) ip4
double * (实数型指针) rp5
double * (实数型指针) rp6
tag_t * (tag_t型的指针) nr7
int * (整数型指针) ir8

 


 
uf5463 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5463 reads the count of poles
No Replacement
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5463
(
tag_t * np1,
int * ir2,
int * ir3
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ir2
int * (整数型指针) ir3

 


 
uf5466 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5466 create a spline from a curve
Replaced by UF_CURVE_create_joined_curve
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5466
(
tag_t * np1,
int * ip2,
tag_t * nr3,
int * ir4
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ip2
tag_t * (tag_t型的指针) nr3
int * (整数型指针) ir4

 


 
uf5900 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5900 evaluate point on a curve
Replaced by UF_CURVE_evaluate_curve or UF_MODL_ask_curve_props
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5900
(
tag_t * np1,
double * rp2,
double * rr3
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) rr3

 


 
uf5901 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5901 evaluate curve point data
Replaced by UF_CURVE_evaluate_curve or UF_MODL_ask_curve_props
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5901
(
tag_t * np1,
double * rp2,
double * rr3
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) rr3

 


 
uf5903 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5903 trim curve by a given arclength
Replaced by UF_CURVE_edit_length
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5903
(
tag_t * np1,
int * ip2,
double * rp3,
int * ip4,
double * rp5,
int * ir6
)
tag_t * (tag_t型的指针) np1
int * (整数型指针) ip2
double * (实数型指针) rp3
int * (整数型指针) ip4
double * (实数型指针) rp5
int * (整数型指针) ir6

 


 
uf5910 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5910 evaluate point on a face
Replaced by UF_MODL_ask_face_props
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5910
(
int * np1,
double * rp2,
double * rr3
)
int * (整数型指针) np1
double * (实数型指针) rp2
double * (实数型指针) rr3

 


 
uf5911 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5911 evaluate face point data
Replaced by UF_MODL_ask_face_props
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5911
(
tag_t * np1,
double * rp2,
double * rr3,
double * rr4,
double * rr5,
double * rr6
)
tag_t * (tag_t型的指针) np1
double * (实数型指针) rp2
double * (实数型指针) rr3
double * (实数型指针) rr4
double * (实数型指针) rr5
double * (实数型指针) rr6

 


 
uf5930 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5930 intersect two curves
Replaced by UF_CURVE_intersect or UF_MODL_intersect_objects
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5930
(
tag_t * np1,
tag_t * np2,
double * rp3,
double * rr4,
double * rr5,
double * rr6,
int * ir7
)
tag_t * (tag_t型的指针) np1
tag_t * (tag_t型的指针) np2
double * (实数型指针) rp3
double * (实数型指针) rr4
double * (实数型指针) rr5
double * (实数型指针) rr6
int * (整数型指针) ir7

 


 
uf5931 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5931 intersect curve and face/plane
Replaced by UF_CURVE_intersect or UF_MODL_intersect_objects
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5931
(
tag_t * np1,
tag_t * np2,
double * rp3,
double * rr4,
double * rr5,
double * rr6,
int * ir7
)
tag_t * (tag_t型的指针) np1
tag_t * (tag_t型的指针) np2
double * (实数型指针) rp3
double * (实数型指针) rr4
double * (实数型指针) rr5
double * (实数型指针) rr6
int * (整数型指针) ir7

 


 
uf5932 (查看源代码)
 
定义在: uf_curve.h
 
概述
uf5932 intersection of two faces
Replaced by UF_MODL_intersect_objects
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
void uf5932
(
tag_t * jp1,
tag_t * jp2,
double * rp3,
tag_t * jp4,
double * rp5,
tag_t * jp6,
double * rp7,
int * ip8,
double * rp9,
int * ip10,
double * rp11,
int * ip12,
int * ir13,
int * ir14,
tag_t * jr15
)
tag_t * (tag_t型的指针) jp1
tag_t * (tag_t型的指针) jp2
double * (实数型指针) rp3
tag_t * (tag_t型的指针) jp4
double * (实数型指针) rp5
tag_t * (tag_t型的指针) jp6
double * (实数型指针) rp7
int * (整数型指针) ip8
double * (实数型指针) rp9
int * (整数型指针) ip10
double * (实数型指针) rp11
int * (整数型指针) ip12
int * (整数型指针) ir13
int * (整数型指针) ir14
tag_t * (tag_t型的指针) jr15

 


 
UF_CURVE_add_faces_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Add a face collector to the offset data for the associated offset curve on
face feature.
If the offset data already has a face collector associated with it,
that existing face collector is ignored and the input face collector is used

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_add_faces_ocf_data
(
tag_t face_tag,
UF_CURVE_ocf_data_p_t uf_offset_data
)
tag_t (tag_t类型) face_tag Input(输入) Identifier of the face
collector to add to the
defining date
UF_CURVE_ocf_data_p_t uf_offset_data Input(输入) Pointer to the data
defining the offset curve
on face feature

 


 
UF_CURVE_add_string_to_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Add a string to an associated offset curve on face feature.
If the string is invalid, an error is returned.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_add_string_to_ocf_data
(
tag_t string_tag,
int offset_direction,
int num_offsets,
UF_CURVE_ocf_values_p_t offset_distances,
UF_CURVE_ocf_data_p_t uf_offset_data
)
tag_t (tag_t类型) string_tag Input(输入) Identifier of a string
int (整数型) offset_direction Input(输入) direction along where
the offset will be
performed
int (整数型) num_offsets Input(输入) Number of offsets to
create for the input
string
UF_CURVE_ocf_values_p_t offset_distances Input(输入) Offset values for each
offset
UF_CURVE_ocf_data_p_t uf_offset_data Input / Output Pointer to the
structure containing
data to define the
offset curve on face
operation

 


 
UF_CURVE_ask_analysis_display (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the values of the Curve Analysis Display Options of
a line, circle, conic or spline

环境
Internal and External

参见
UF_CURVE_ask_spline_sap
UF_CURVE_set_analysis_display

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

 
int UF_CURVE_ask_analysis_display
(
tag_t curve_tag,
UF_CURVE_analysis_display_p_t analysis_display_options
)
tag_t (tag_t类型) curve_tag Input(输入) The tag of the curve. The curve may be of type
UF_line_type, UF_circle_type, UF_conic_type or
UF_spline_type.
UF_CURVE_analysis_display_p_t analysis_display_options Output(输出) The current options
for curve analysis
display

 


 
UF_CURVE_ask_arc_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the data of an arc. The data is in the structure arc_coords
pointed to by UF_CURVE_arc_p_t and includes the matrix tag, start
and end angles (radian measure), the arc center coordinates, and the
arc radius. Another function that provides arc data is UF_EVAL_ask_arc.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_arc_data
(
tag_t arc,
UF_CURVE_arc_p_t arc_coords
)
tag_t (tag_t类型) arc Input(输入) Object identifier of arc to query
UF_CURVE_arc_p_t arc_coords Output(输出) Data of arc in CSYS in which the arc resides.

 


 
UF_CURVE_ask_arc_length (查看源代码)
 
定义在: uf_curve.h
 
概述
Computes the arc length of a curve between two input parameters. It will also
compute the length of a solid edge.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_arc_length
(
tag_t curve_tag,
double start_param,
double end_param,
UF_MODL_units_t unit_flag,
double* arc_length
)
tag_t (tag_t类型) curve_tag Input(输入) Tag of curve to query for arc length
double (实数型) start_param Input(输入) Start parameter of the curve from which the arc
length is to be calculated.
double (实数型) end_param Input(输入) End parameter of the curve to which the arc length
is to be calculated.
UF_MODL_units_t unit_flag Input(输入) Any one of the following enumerated constants:
UF_MODL_UNITS_PART - same as parts units
UF_MODL_INCH - inches
UF_MODL_MMETER - millimeters
UF_MODL_CMETER - centimeters
UF_MODL_METER - meters
double* arc_length Output(输出) arc length of the curve from start_param to end_param.

 


 
UF_CURVE_ask_bridge_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Inquire a bridge curve feature

环境
内部和外部

参见
UF_CURVE_create_bridge_feature
UF_CURVE_edit_bridge_feature

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

 
int UF_CURVE_ask_bridge_feature
(
tag_t bridge_feature,
UF_CURVE_bridge_data_p_t bridge_data
)
tag_t (tag_t类型) bridge_feature Input(输入) Object identifier of the bridge cur
ve feature
UF_CURVE_bridge_data_p_t bridge_data Input / Output Parameters of bridge curve feature

 


 
UF_CURVE_ask_centroid (查看源代码)
 
定义在: uf_curve.h
 
概述
Computes the centroid (center of gravity) of a curve or solid edge.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_centroid
(
tag_t curve_id,
double centroid [ 3 ]
)
tag_t (tag_t类型) curve_id Input(输入) Object identifier of curve or edge
double (实数型) centroid [ 3 ] Input(输入) Centroid of curve or edge

 


 
UF_CURVE_ask_combine_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Retrieves the parameters used to create parametric curve(s) by
combining two curves along specified direction vectors.

环境
内部和外部

参见
Refer to the example
For structure refer
UF_CURVE_combine_curves_direction_t
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_combine_curves
(
tag_t combine_curve_feature,
tag_t * first_curve_tag,
UF_CURVE_combine_curves_direction_p_t first_dir,
tag_t * second_curve_tag,
UF_CURVE_combine_curves_direction_p_t second_dir,
char * * tol,
uf_list_p_t * curve_list
)
tag_t (tag_t类型) combine_curve_feature Input(输入) Object tag for the combined curve feature.
tag_t * (tag_t型的指针) first_curve_tag Output(输出) First curve tag projected for combine
UF_CURVE_combine_curves_direction_p_t first_dir Output(输出) Pointer to projection
direction info for first curve
tag_t * (tag_t型的指针) second_curve_tag Output(输出) Second curve tag projected for combine
UF_CURVE_combine_curves_direction_p_t second_dir Output(输出) Pointer to projection
direction info for second
curve
char * * tol Output to be freed
输出并释放
String containing the value for curve approximation
tolerance (distance tolerance). This parameter
must be freed by calling UF_free.
uf_list_p_t * curve_list Output to be freed
输出并释放
Address of pointer to list of curve tags created by
combining two curves. Use UF_MODL_delete_list to
free the space allocated for this list.

 


 
UF_CURVE_ask_conic_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the data from the conic arc and returns it in the data structure
provided.

环境
内部和外部

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

 
int UF_CURVE_ask_conic_data
(
tag_t conic,
UF_CURVE_conic_t * conic_data
)
tag_t (tag_t类型) conic Input(输入) tag of conic for which to obtain data
UF_CURVE_conic_t * conic_data Output(输出) pointer to a conic arc data structure to be filled
with the data for the conic arc

 


 
UF_CURVE_ask_curve_fit_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Ask curve fit data from the curve feature

环境
Internal and External

参见
UF_CURVE_edit_by_curve_fit_data

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

 
int UF_CURVE_ask_curve_fit_data
(
tag_t curve_feature,
UF_CURVE_curve_fit_data * curve_fit_data
)
tag_t (tag_t类型) curve_feature Input(输入) tag of the curve feature
UF_CURVE_curve_fit_data * curve_fit_data Output(输出) curve fit method, maximum degree, and maximum segments

 


 
UF_CURVE_ask_curve_inflections (查看源代码)
 
定义在: uf_curve.h
 
概述
Calculates inflection points of a curves projection by inputting the
curves tag, the projection matrix, and the relative range (in
percentage) in which the inflection points are to be found.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_curve_inflections
(
tag_t curve_eid,
double proj_matrx [ 9 ] ,
double range [ 2 ] ,
int * num_infpts,
double * * inf_pts
)
tag_t (tag_t类型) curve_eid Input(输入) Object identifier of the curve
double (实数型) proj_matrx [ 9 ] Input(输入) Projection matrix specified in a 1D
array(proj_matrx[9])
double (实数型) range [ 2 ] Input(输入) Lower and upper limit of the relative range (in %)
in which inflection points are searched
range[0] = lower limit (umin)
range[1] = upper limit (umax)
int * (整数型指针) num_infpts Output(输出) Number of inflection points found
double * * inf_pts Output to be freed
输出并释放
The inflection points data. The size of the array is
inf_pts[num_infpts 4].
(inf_pts+4i)[0] = u value of the ith inflection.
[1-3]= x, y, z values of the ith inflections.
This array must be freed by calling UF_free.

 


 
UF_CURVE_ask_curve_struct (查看源代码)
 
定义在: uf_curve.h
 
概述
Gets the structure pointer corresponding to the specified curve id.

NOTE: This routine is to be permanently withdrawn in the near
future. Use the routines in the UF_EVAL module instead.
Gets the structure pointer corresponding to the specified curve id.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_curve_struct
(
tag_t curve_id,
UF_CURVE_struct_p_t * curve_struct
)
tag_t (tag_t类型) curve_id Input(输入) Object identifier of the curve
UF_CURVE_struct_p_t * curve_struct Output to be freed
输出并释放
Pointer to pointer of type
UF_CURVE_struct_p_t. This routine
allocates the structure and fills
in the data. This argument must be freed by
calling UF_CURVE_free_curve_struct.

 


 
UF_CURVE_ask_curve_struct_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Allows you to get the curve type and data for a specified curve
structure.

NOTE: This routine is to be permanently withdrawn in the near
future. Use the routines in the UF_EVAL module instead.
Allows you to get the curve type and data for a specified curve
structure. You may obtain the curve structure id using
UF_CURVE_ask_curve_struct.

Depending on the object type, curve_data may have the following data:
POINT curve_data[0 - 2]

LINE curve_data[0] = t0
curve_data[1] = tscale
curve_data[2] = periodicity
curve_data[3 - 5] = first point
curve_data[6 - 8] = second point

ARC curve_data[0] = t0
curve_data[1] = tscale
curve_data[2] = periodicity
curve_data[3] = start angle
curve_data[4] = end angle (radians)
curve_data[5] = radius
curve_data[6 - 8] = center
curve_data[9 - 11] = X axis of the
construction plane
curve_data[12 - 14] = Y axis of the
construction plane

CONIC curve_data[0] = t0
curve_data[1] = tscale
curve_data[2] = periodicity
curve_data[3] = T1
curve_data[4] = T2
curve_data[5] = K1
curve_data[6] = K2
curve_data[7] = conic type
curve_data[8 - 10] = center
curve_data[11 - 13] = axis1
curve_data[14 - 16] = axis2

B-CURVE curve_data[0] = t0
curve_data[1] = tscale
curve_data[2] = periodicity
curve_data[3] = number of poles
curve_data[4] = order
curve_data[] = knot sequence
( curve_data[3] +
curve_data[4] )
curve_data[] = array of homogeneous
poles (wx, wy, wz, w), for
each pole.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_curve_struct_data
(
UF_CURVE_struct_p_t curve_struct,
int * type,
double * * curve_data
)
UF_CURVE_struct_p_t curve_struct Input(输入) Curve structure pointer.
int * (整数型指针) type Output(输出) Object type
double * * curve_data Output to be freed
输出并释放
Array of object data. This array is allocated by
this routine. The caller must free it by calling UF_free.

 


 
UF_CURVE_ask_curve_turn_angle (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the angle made up by a curve as it wanders through space. The angle
is taken on a projection plane defined by the orientation vector.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_curve_turn_angle
(
tag_t curve,
double orientation [ 3 ] ,
double * angle
)
tag_t (tag_t类型) curve Input(输入) Tag of the curve object.
double (实数型) orientation [ 3 ] Input(输入) A vector normal to the plane in which the curve
should be evaluated.
double * (实数型指针) angle Output(输出) Angle in radians.

 


 
UF_CURVE_ask_feature_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the output curves of a curve feature.

环境
Internal and External.

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

 
int UF_CURVE_ask_feature_curves
(
tag_t curve_feature_id,
int * num_curves,
tag_t * * feature_curves
)
tag_t (tag_t类型) curve_feature_id Input(输入) The tag of the curve feature.
int * (整数型指针) num_curves Output(输出) The number of curves in the output
array.
tag_t * * feature_curves Output to be freed
输出并释放
The array of curves. This must be
freed by calling UF_free.

 


 
UF_CURVE_ask_int_curve_parents (查看源代码)
 
定义在: uf_curve.h
 
概述
Given an intersection curve feature, returns the Object identifier of
the intersection curve object and the object identifiers of the two
objects that produced the intersection curve. Returns an error if the
intersection curve does not belong to an intersection curve object.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_int_curve_parents
(
tag_t int_curve,
tag_t * int_curve_object,
tag_t input_objects [ 2 ]
)
tag_t (tag_t类型) int_curve Input(输入) Feature tag of intersection curve to inquire.
tag_t * (tag_t型的指针) int_curve_object Output(输出) Object identifier of intersection curve object.
tag_t (tag_t类型) input_objects [ 2 ] Output(输出) Object identifier of the two objects that produced
the intersection curve. Can be either face or datum
plane.

 


 
UF_CURVE_ask_int_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns an array of intersection curve tags.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_int_curves
(
tag_t int_curve_object,
int * num_curves,
tag_t * * intersection_curves
)
tag_t (tag_t类型) int_curve_object Input(输入) Feature tag of intersection curve.
int * (整数型指针) num_curves Output(输出) Number of curves in array.
tag_t * * intersection_curves Output to be freed
输出并释放
Array of intersection curves. This must be
freed by calling UF_free.

 


 
UF_CURVE_ask_int_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters of an intersection curve feature.
Returns array of tags to the sets of input intersection objects.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_int_parms
(
tag_t int_curve_object,
int * num_objects_set_1,
tag_t * * object_set_1,
int * num_objects_set_2,
tag_t * * object_set_2
)
tag_t (tag_t类型) int_curve_object Input(输入) Feature tag of intersection curve.
int * (整数型指针) num_objects_set_1 Output(输出) Number of intersection objects in object_set_1 array.
tag_t * * object_set_1 Output to be freed
输出并释放
Array of tags of objects intersecting with objects in
object_set_2 array. This must be freed by calling
UF_free.
int * (整数型指针) num_objects_set_2 Output(输出) Number of intersection objects in object_set_2 array.
tag_t * * object_set_2 Output to be freed
输出并释放
Array of tags of objects intersecting with objects in
object_set_1 array. This must be freed by calling
UF_free.

 


 
UF_CURVE_ask_int_parms_sc (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters of an intersection curve feature.
Returns array of tags to the sets of input intersection objects.
This also has the ability to return the tag of collector in case
the objects intersecting are collectors.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_int_parms_sc
(
tag_t int_curve_object,
int * num_objects_set_1,
tag_t * * object_set_1,
int * num_objects_set_2,
tag_t * * object_set_2,
logical * set1_is_collector,
logical * set2_is_collector
)
tag_t (tag_t类型) int_curve_object Input(输入) Feature tag of intersection curve.
int * (整数型指针) num_objects_set_1 Output(输出) Number of intersection objects in object_set_1 array.
tag_t * * object_set_1 Output to be freed
输出并释放
Array of tags of objects intersecting with objects in
object_set_2 array. This must be freed by calling
UF_free.
int * (整数型指针) num_objects_set_2 Output(输出) Number of intersection objects in object_set_2 array.
tag_t * * object_set_2 Output to be freed
输出并释放
Array of tags of objects intersecting with objects in
object_set_1 array. This must be freed by calling
UF_free.
logical * set1_is_collector Output(输出) TRUE if set1 is a collector.
logical * set2_is_collector Output(输出) TRUE if set2 is a collector.

 


 
UF_CURVE_ask_isocline (查看源代码)
 
定义在: uf_curve.h
 
概述
Ask isocline curve feature data
Returns the parameters of a joined curve feature.

环境
内部和外部

参见
UF_CURVE_edit_isocline
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_isocline
(
tag_t isocline_feat,
int * face_cnt,
tag_p_t * faces,
double direction [ 3 ] ,
char * * start_angle,
char * * end_angle,
char * * step_angle,
int * curve_cnt,
tag_p_t * curves
)
tag_t (tag_t类型) isocline_feat Input(输入) Tag of feature
int * (整数型指针) face_cnt Output(输出) Number of faces
tag_p_t * faces Output to be freed
输出并释放
Array of faces used to calculate isocline curves.
This must be freed by calling UF_free.
double (实数型) direction [ 3 ] Output(输出) Isocline direction vector
char * * start_angle Output to be freed
输出并释放
Start angle. This must be freed by calling UF_free.
char * * end_angle Output to be freed
输出并释放
End angle (NULL for single angle)
This must be freed by calling UF_free.
char * * step_angle Output to be freed
输出并释放
Step angle (NULL for single angle)
This must be freed by calling UF_free.
int * (整数型指针) curve_cnt Output(输出) Number of isocline curves
tag_p_t * curves Output to be freed
输出并释放
Array of isocline curves
This must be freed by calling UF_free.

 


 
UF_CURVE_ask_joined_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the parameters of a joined curve feature.

环境
Internal and External.

参见
UF_STRING_p_t AKA string_list

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

 
int UF_CURVE_ask_joined_parms
(
tag_t joined_curve_feature,
UF_STRING_p_t uf_curve_string,
int * creation_method,
double tols [ 3 ]
)
tag_t (tag_t类型) joined_curve_feature Input(输入) CRV_JOIN feature
UF_STRING_p_t uf_curve_string Output to be freed
输出并释放
String of input curves. This must
be freed by calling
UF_MODL_free_string_list.
int * (整数型指针) creation_method Output(输出) 1 - Polynomial Cubic,
2 - General Spline
double (实数型) tols [ 3 ] Output(输出) Tolerances
[0] - distance tol
[1] - angle tol
[2] - string tol

 


 
UF_CURVE_ask_line_arc_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Populates the supplied pointer to line_arc_data struct for the given
associative line/arc feature.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
UF_CURVE_edit_line_arc
UF_CURVE_ask_line_arc_output
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_line_arc_data
(
tag_t line_arc_feat_id,
UF_CURVE_line_arc_t * line_arc_data
)
tag_t (tag_t类型) line_arc_feat_id Input(输入) Object identifier of associative line/arc feature.
UF_CURVE_line_arc_t * line_arc_data Output(输出) Pointer to line/arc data structure to be filled up.

 


 
UF_CURVE_ask_line_arc_output (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the ID of the line/arc created by the associative line/arc feature.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
UF_CURVE_edit_line_arc
UF_CURVE_ask_line_arc_data
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_line_arc_output
(
tag_t line_arc_feat_id,
tag_t * line_arc_id
)
tag_t (tag_t类型) line_arc_feat_id Input(输入) Object identifier of associative line/arc feature.
tag_t * (tag_t型的指针) line_arc_id Output(输出) Id of the line/arc created by the feature.

 


 
UF_CURVE_ask_line_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the coordinates of a line with respect to the absolute
coordinate system.

环境
内部和外部

参见
UF_CURVE_line_p_t
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_line_data
(
tag_t line,
UF_CURVE_line_p_t line_coords
)
tag_t (tag_t类型) line Input(输入) Object identifier of line
UF_CURVE_line_p_t line_coords Output(输出) Coordinates of line in absolute space

 


 
UF_CURVE_ask_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the offset data for a given associated offset curve on face feature.
This data can be modified and then UF_CURVE_edit_ocf_feature invoked to
modify a feature.
Memory is allocated when this data is returned. It is the responsibility of
the caller to free that memory by calling UF_CURVE_free_ocf_data

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_ocf_data
(
tag_t feature,
UF_CURVE_ocf_data_p_t * offset_data
)
tag_t (tag_t类型) feature Input(输入) Offset curve on face
feature identifier
UF_CURVE_ocf_data_p_t * offset_data Output to be freed
输出并释放
Pointer to the structure
containing defining data
for the offset curve on
face feature

 


 
UF_CURVE_ask_offset_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns an array of offset curve object identifiers.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_offset_curves
(
tag_t offset_curve_object,
int * num_curves,
tag_t * * offset_curves
)
tag_t (tag_t类型) offset_curve_object Input(输入) Object identifier of offset curve object.
int * (整数型指针) num_curves Output(输出) Number of curves in array.
tag_t * * offset_curves Output to be freed
输出并释放
Array of offset curve object identifiers. This array
must be freed by calling UF_free.

 


 
UF_CURVE_ask_offset_direction (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the offset direction vector and the draft direction vector for a
string of curves. These vectors define the positive direction. If you
want to offset in the opposite direction, then negate the values for
distance, draft height, and/or draft angle. The input string of curves
must be coplanar.

环境
内部和外部

参见
The following example is an internal Open API program that uses the new
offset curve Open API routines. The intention of this Open API program
is to give you and idea of how to set up the inputs and use the outputs from
these routines. Thus, the data used in this example is very simple and is not
representative of the capabilities of this function.

The flow of the code is as follows. First it creates the geometry needed as
input. It creates two arcs and then a ruled surface from the arcs. A string
is set up for the input curves from the arcs and two of the edges of the ruled
surface.

UF_CURVE_ask_offset_parms
is called with the string as input to find the offset and draft direction
vectors. UF_VEC3_dot is called to compare the offset direction vector to the
+X axis to see if they are going in the same direction. If not, the distance
string will be negated.

Structures are set up to create a UF_CURVE_OFFSET_DISTANCE_FILLET type offset
curve. These curves will be non-associative. Next, UF_CURVE_create_offset_object
is called to create a UF_CURVE_OFFSET_DISTANCE_TANGENT type associative offset
curve object. Then UF_CURVE_ask_offset_curves
is called to retrieve the output offset curves. These curves will replace the
previous input curves in the input curve string.

UF_CURVE_create_offset_object
is called again to create the next set of offset curves. UF_CURVE_ask_offset_parms
is called to read the creation parameters of the object just created. Then the
offset type is changed to UF_CURVE_OFFSET_DISTANCE_NO_TRIM and UF_CURVE_edit_offset_object
is called to update the last object. Finally, UF_CURVE_free_offset_parms
is called to free the memory allocated by UF_CURVE_ask_offset_parms

The following is the output that is generated by the example program.
Input curves are in gray and resultant curves are in green.





Refer to the example code for this program.

Documentation for UF_STRING_p_t and UF_STRING_t can be found in the NX Open
Reference Manual under uf_modl -> Types -> string_list.

历史
This function was modified in V13.0 to add the base_point parameter.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_offset_direction
(
UF_STRING_p_t input_curves,
double offset_direction_vector [ 3 ] ,
double draft_direction_vector [ 3 ] ,
double base_point [ 3 ]
)
UF_STRING_p_t input_curves Input(输入) Pointer to curves list structure
int num Total number of primary strings
(min=1,max=1)
int string[] Total number of segment curves/
sketch id of each primary string
(min=1,max=402)
int dir[] Direction of each primary string
1 = Start to End
-1 = End to Start
tag_t id[] Identifier of primary curves
Use UF_MODL_init_string_list and
UF_MODL_create_string_list
to create input strings. Use
UF_MODL_free_string_list to free
memory after the string is created.
double (实数型) offset_direction_vector [ 3 ] Output(输出) positive offset direction
double (实数型) draft_direction_vector [ 3 ] Output(输出) positive draft height direction
double (实数型) base_point [ 3 ] Output(输出) base point of vectors

 


 
UF_CURVE_ask_offset_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters of an offset curve object.

环境
内部和外部

参见
UF_CURVE_free_offset_parms
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_offset_parms
(
tag_t offset_curve_object,
UF_CURVE_offset_data_p_t offset_data_pointer
)
tag_t (tag_t类型) offset_curve_object Input(输入) Object identifier of offset curve object
to be interrogated.
UF_CURVE_offset_data_p_t offset_data_pointer Output to be freed
输出并释放
Pointer to structure containing
the defining data of the offset
curve. The caller is responsible
for allocating a
UF_CURVE_offset_data_t structure,
which this routine will fill with
data which must be freed. The
caller can free the data allocated
inside this structure by calling
UF_CURVE_free_offset_parms.

 


 
UF_CURVE_ask_parameterization (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the parameter range and periodicity for any curve or edge.
This function returns the "natural" parameter range. Arcs, ellipses
and hyperbolas return the start and end angles.

环境
内部和外部

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

 
int UF_CURVE_ask_parameterization
(
tag_t object,
double param_range [ 2 ] ,
int * periodicity
)
tag_t (tag_t类型) object Input(输入) curve or edge for which to return parameterization
data
double (实数型) param_range [ 2 ] Output(输出) array into which to return parameter range of the
curve
int * (整数型指针) periodicity Output(输出) One of:
UF_CURVE_OPEN_CURVE
UF_CURVE_CLOSED_PERIODIC_CURVE
UF_CURVE_CLOSED_NON_PERIODIC_CURVE

 


 
UF_CURVE_ask_point_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the coordinates for the specified object identifier of a point.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_point_data
(
tag_t point,
double point_coords [ 3 ]
)
tag_t (tag_t类型) point Input(输入) Object identifier of point to inquire about
double (实数型) point_coords [ 3 ] Output(输出) Coordinates of point in absolute space

 


 
UF_CURVE_ask_proj_curve_parents (查看源代码)
 
定义在: uf_curve.h
 
概述
Given an input projected curve, determines the feature identifier, the
target object identifier (sheet_body/face/plane/datum_plane), and the defining
curve identifier of the projected curves.

The projected curve must be a curve that was produced by
UF_CURVE_create_proj_curves. You can get this curve by calling the
function UF_CURVE_ask_proj_curves. An error is returned if the
projected curve does not belong to a projected curves feature.
The following example creates a block at origin (0,0,0) with edge
lengths of (300,25,150). The program creates and projects a line onto
the faces of the block. Next the projected curves are found, and then
the face the curves projected onto and the defining curves generating
the projected curves are determined.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_proj_curve_parents
(
tag_t proj_curve,
tag_t * defining_feature,
tag_t * defining_target,
tag_t * defining_curve
)
tag_t (tag_t类型) proj_curve Input(输入) The curve identifier whose projected curve feature,
defining sheet_body/face/plane/datum_plane, and defining
curve are to be found.
tag_t * (tag_t型的指针) defining_feature Output(输出) The projected curves feature identifier that
produced the input curve.
tag_t * (tag_t型的指针) defining_target Output(输出) The sheet_body/face/plane/datum_plane identifier of the
defining target that the input curve was projected
onto.
tag_t * (tag_t型的指针) defining_curve Output(输出) The defining curve identifier of the projected curve
feature that generated this projected curve.

 


 
UF_CURVE_ask_proj_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the curves associated with a projected curve feature.

环境
内部和外部

参见
UF_CURVE_create_proj_curves
UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_proj_curves
(
tag_t proj_curve_feature,
int * n_curve_refs,
tag_t * * curve_refs
)
tag_t (tag_t类型) proj_curve_feature Input(输入) Projected curve feature identifier.
int * (整数型指针) n_curve_refs Output(输出) Number of curve identifiers.
tag_t * * curve_refs Output to be freed
输出并释放
Pointer to array of curve identifiers. Use UF_free
to deallocate memory.

 


 
UF_CURVE_ask_spline_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the spline data and puts it in the data structure whose address
is provided.

环境
内部和外部

参见
UF_CURVE_ask_parameterization
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_spline_data
(
tag_t spline_tag,
UF_CURVE_spline_p_t spline_data
)
tag_t (tag_t类型) spline_tag Input(输入) Tag of bspline curve for which to return data
UF_CURVE_spline_p_t spline_data Output to be freed
输出并释放
The caller must allocate a UF_CURVE_spline_t
structure. This routine will fill the
structure in. The knots and poles members
will be allocated by this routine, and must
be freed by the caller using UF_free, e.g.
UF_free(spline_data->knots);
UF_free(spline_data->poles);

 


 
UF_CURVE_ask_spline_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Inquire a general spline feature.
Output object id of the referenced smart spline.

返回
error code

环境
Internal and External

参见
UF_CURVE_create_spline_feature
UF_CURVE_edit_spline_feature

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

 
int UF_CURVE_ask_spline_feature
(
tag_t feature_id,
tag_t * spline
)
tag_t (tag_t类型) feature_id Input(输入) object id of the spline feature
tag_t * (tag_t型的指针) spline Output(输出) pointer to object id of the referenced
smart spline

 


 
UF_CURVE_ask_spline_sap (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the values of the Shape Analysis Parameters (SAP) of a
B-curve. Shape Analysis Parameters are a set of parameters used to
display B-curves characteristics. The current SAP includes four
integer flags used to indicate the display status of the control polygon,
curvature comb, inflection points and peak points of a B-curve, and a
real value used to scale the teeth length of the curvature comb.

Please use UF_CURVE_ask_analysis_display instead of UF_CURVE_ask_spline_sap,
as UF_CURVE_ask_spline_sap will eventually become obsolete.

环境
内部和外部

参见
UF_CURVE_set_spline_sap
UF_CURVE_ask_analysis_display
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_spline_sap
(
tag_t curve_tag,
int display_flag [ 4 ] ,
double * scale_factor
)
tag_t (tag_t类型) curve_tag Input(输入) B-curves tag
int (整数型) display_flag [ 4 ] Output(输出) B-curves SAP values
[0]= control polygon display flag
[1]= curvature comb display flag
[2]= inflection points display flag
[3]= peak points display flag
double * (实数型指针) scale_factor Output(输出) B-curves SAP value

 


 
UF_CURVE_ask_spline_thru_pts (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads a splines defining data structure. The defining data returns
regardless of whether the spline is in or out of synchronization with its
defining data. However, if you pass the returned data structure to the
routine UF_CURVE_edit_spline_thru_pts, the spline is recreated from
the input data. Any previous change to the spline by modifying its pole
data will be discarded. If there is no defining data stored with the
spline, an error code will be returned.

The length of the array of parameters is num_points for non-periodic
curves and (num_points+1) for periodic ones.

环境
内部和外部

参见
UF_CURVE_create_spline_thru_pts
UF_CURVE_edit_spline_thru_pts
UF_CURVE_pt_slope_crvatr_t
Refer to the example

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

 
int UF_CURVE_ask_spline_thru_pts
(
tag_t spline_tag,
int * degree,
int * periodicity,
int * num_points,
UF_CURVE_pt_slope_crvatr_t * * point_data,
double * * parameters
)
tag_t (tag_t类型) spline_tag Input(输入) tag of spline for which to return data
int * (整数型指针) degree Output(输出) degree of the spline
int * (整数型指针) periodicity Output(输出) periodicity of the spline
int * (整数型指针) num_points Output(输出) number of points and parameters in the following arrays
UF_CURVE_pt_slope_crvatr_t * * point_data Output to be freed
输出并释放
Array of data defining points and
slope/curvature control. This array
must be freed by passing it to
UF_free.
double * * parameters Output to be freed
输出并释放
Parameters of the points defining the spline. This is a
user specified parameterization for the
spline definitions points, which needs to be
monotonic increasing, but does not
need to be normalized, if NULL then
default parameterization will be used.
This array need to be freed by calling UF_free.

 


 
UF_CURVE_ask_trim (查看源代码)
 
定义在: uf_curve.h
 
概述
Retrieve the current parameters of an associative trim curve feature.

环境
内部和外部

参见
Refer to the example

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

 
int UF_CURVE_ask_trim
(
tag_t trim_feature,
UF_CURVE_trim_p_t trim_info
)
tag_t (tag_t类型) trim_feature Input(输入) Trim curve feature whose parameters
are to be retrieved
UF_CURVE_trim_p_t trim_info Output to be freed
输出并释放
Information defining the trim curve
features current parameters, the
caller should free allocated memory
in this structure by calling
UF_CURVE_free_trim

 


 
UF_CURVE_ask_wrap_curve_parents (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters pertaining to a wrap or unwrap curve.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_wrap_curve_parents
(
tag_t curve_tag,
tag_t * defining_face,
tag_t * defining_plane,
tag_t * defining_curve,
tag_t * wrap_curve_object
)
tag_t (tag_t类型) curve_tag Input(输入) Object Identifier of a wrap or unwrap curve.
tag_t * (tag_t型的指针) defining_face Output(输出) Object Identifier of the Wrap Face of the input curve.
tag_t * (tag_t型的指针) defining_plane Output(输出) Object Identifier of the Wrap Plane of the input curve
tag_t * (tag_t型的指针) defining_curve Output(输出) Object Identifiers of the curve, edge, or face that
produced the wrap_curve
tag_t * (tag_t型的指针) wrap_curve_object Output(输出) Object Identifier of the wrap or unwrap feature.

 


 
UF_CURVE_ask_wrap_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters of a wrap or unwrap curves feature.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_wrap_curves
(
tag_t wrap_curve_object,
int * num_output_curves,
tag_t * * output_curves
)
tag_t (tag_t类型) wrap_curve_object Input(输入) Object Identifier of the wrap or unwrap feature.
int * (整数型指针) num_output_curves Output(输出) Number of tags returned in the output_curves array.
tag_t * * output_curves Output to be freed
输出并释放
Object Identifiers of curves produced by this
wrap/unwrap. You are responsible for freeing the
memory allocated for this array by calling UF_free.

 


 
UF_CURVE_ask_wrap_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
Reads the creation parameters of a wrap or unwrap curves feature.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ask_wrap_parms
(
tag_t wrap_curve_object,
UF_CURVE_wrap_data_p_t wrap_data
)
tag_t (tag_t类型) wrap_curve_object Input(输入) Object Identifier of the wrap or unwrap feature.
UF_CURVE_wrap_data_p_t wrap_data Output to be freed
输出并释放
Pointer to a structure to be filled in with
the defining information for the input
feature. The calling routine must allocate
a UF_CURVE_wrap_data_t structure, and pass
the pointer into this routine. This routine
will fill the structure with allocated
data. The calling routine must then call
UF_CURVE_free_wrap_parms to free memory
allocated to support this structure.

 


 
UF_CURVE_auto_join_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Sorts through a set of unordered curves, joining curves where
appropriate. Curves must meet the following criteria in order to join:
The curve must be open. Closed curves such as a circle or ellipse
cannot be joined.

Only curves that share a common end point can be joined.
Only valid curves can be joined (line, arc, b-spline, conics).

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_auto_join_curves
(
tag_t * crv_list,
int crv_num,
int join_type,
tag_t * join_list,
int * join_num
)
tag_t * (tag_t型的指针) crv_list Input(输入) Array of curves to be joined
int (整数型) crv_num Input(输入) Number of curves in crv_list
int (整数型) join_type Input(输入) Join type
1 = Polynomial Cubic
2 = General Spline
tag_t * (tag_t型的指针) join_list Output(输出) List of output curves (joined and not joined). The
size of this list cannot exceed crv_num. Therefore
you can declare this variable as:
tag_t join_list[crv_num];
int * (整数型指针) join_num Output(输出) Number of curves in join_list

 


 
UF_CURVE_convert_conic_to_gen (查看源代码)
 
定义在: uf_curve.h
 
概述
The conic in standard form is converted to its general form. The
matrix of the general form is always the same as for the standard form.

环境
内部和外部

参见
UF_CURVE_ask_conic_data

历史
Original release was in V13.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_convert_conic_to_gen
(
UF_CURVE_conic_p_t conic_data,
UF_CURVE_genconic_t * gen_conic_data
)
UF_CURVE_conic_p_t conic_data Input(输入) Conic data in standard form
UF_CURVE_genconic_t * gen_conic_data Output(输出) Conic data in general form

 


 
UF_CURVE_convert_conic_to_std (查看源代码)
 
定义在: uf_curve.h
 
概述
Converts general form conic data to standard form data.

The matrix for each form defines the orientation, or construction
space; the conic arc is parallel to its XY plane. The Z coordinate of
the center point gives the offset from the XY plane. The matrix for
the standard form is always the same as it was for the general form.
In the standard form, there is no way to specify the direction of
parameterization. The start and end points of the general form can
define a parameterization direction opposite that of the standard
form. When this is the case the sense argument is returned false.

For an ellipse, the process of extracting the angle of
rotation from the general form coefficients does not reliably yield the
same rotation angle with which it was created. The result may be a
parameterization in standard form between p and 3p. For this reason
many workers change the matrix of an ellipse (and possibly parabolas
and hyperbolas too) to incorporate the rotation angle and make the
conics rotation angle be zero. This produces a reliable
parameterization for the general form.

环境
内部和外部

历史
Original release was in V13.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_convert_conic_to_std
(
UF_CURVE_genconic_p_t gen_conic_data,
UF_CURVE_conic_t * conic_data,
logical * sense
)
UF_CURVE_genconic_p_t gen_conic_data Input(输入) Conic data in general form
UF_CURVE_conic_t * conic_data Output(输出) Conic data in standard form
logical * sense Output(输出) Sense of parameterization of the standard form with respect to
the general form. True if they are the same direction.

 


 
UF_CURVE_create_arc (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates an arc. You input the matrix tag, start and end angles in
radians, the coordinates of the arc center, and the radius by filling out
the arc_coords data structure pointed to by UF_CURVE_arc_p_t.
The arc is drawn counterclockwise from the start angle to the end angle
as shown below.


This function returns an error if the absolute value of the difference
between the start and end angle is greater than two pi (plus the system
tolerance). An error is also returned if the start angle is greater than
the end angle.

环境
内部和外部

参见
UF_CURVE_arc_p_t
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc
(
UF_CURVE_arc_p_t arc_coords,
tag_t * arc
)
UF_CURVE_arc_p_t arc_coords Input(输入) Pointer to arc data structure
tag_t * (tag_t型的指针) arc Output(输出) Object identifier of new arc

 


 
UF_CURVE_create_arc_3point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through three points.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_3point
(
tag_t point1,
tag_t point2,
tag_t point3,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
tag_t (tag_t类型) point3 Input(输入) tag of middle point
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_3tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through tangent to three curves.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_3tangent
(
tag_t tangent_object1,
tag_t tangent_object2,
tag_t tangent_object3,
UF_CURVE_help_data_p_t help_data_p [ 3 ] ,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) tangent_object1 Input(输入) tag of tangent object at start
tag_t (tag_t类型) tangent_object2 Input(输入) tag of tangent object at end
tag_t (tag_t类型) tangent_object3 Input(输入) tag of tangent object at middle
UF_CURVE_help_data_p_t help_data_p [ 3 ] Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_center_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature of given radius and specific center

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_center_radius
(
tag_t center,
double radius,
tag_t help_point,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) center Input(输入) tag of center
double (实数型) radius Input(输入) value of radius
tag_t (tag_t类型) help_point Input(输入) point to define the start orientation
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_center_tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature tangent to a curve and specific center.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_center_tangent
(
tag_t center,
tag_t tangent,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) center Input(输入) tag of center
tag_t (tag_t类型) tangent Input(输入) tag of tangent at start
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_center (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through a start point and specific center.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_center
(
tag_t point,
tag_t center,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) center Input(输入) tag of center
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_point_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through two points and of specific radius.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_point_radius
(
tag_t point1,
tag_t point2,
double radius,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
double (实数型) radius Input(输入) value of radius
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_point_tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through two points and tangent to a curve.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_point_tangent
(
tag_t point1,
tag_t point2,
tag_t tangent_object,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
tag_t (tag_t类型) tangent_object Input(输入) tag of tangent object at middle
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_tangent_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through two points and tangent to a curve.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_tangent_point
(
tag_t point1,
tag_t tangent_object,
tag_t point2,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) tangent_object Input(输入) tag of tangent object at end
tag_t (tag_t类型) point2 Input(输入) tag of middle point
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_tangent_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through one point, tangent to a curve and of specific radius.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_tangent_radius
(
tag_t point,
tag_t tangent_object,
double radius,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) tangent_object Input(输入) tag of tangent object at end
double (实数型) radius Input(输入) value of radius
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_point_tangent_tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through a point and tangent to two curves.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_point_tangent_tangent
(
tag_t point,
tag_t tangent_object1,
tag_t tangent_object2,
UF_CURVE_help_data_p_t help_data_p [ 2 ] ,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) tangent_object1 Input(输入) tag of tangent object at end
tag_t (tag_t类型) tangent_object2 Input(输入) tag of tangent object at middle
UF_CURVE_help_data_p_t help_data_p [ 2 ] Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_tangent_point_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through two points and tangent to a curve.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_tangent_point_point
(
tag_t tangent_object,
tag_t point1,
tag_t point2,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) tangent_object Input(输入) tag of tangent object at start
tag_t (tag_t类型) point1 Input(输入) tag of end point
tag_t (tag_t类型) point2 Input(输入) tag of middle point
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_tangent_point_tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through a point and tangent to two curves.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_tangent_point_tangent
(
tag_t tangent_object1,
tag_t point,
tag_t tangent_object2,
UF_CURVE_help_data_p_t help_data_p [ 2 ] ,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) tangent_object1 Input(输入) tag of tangent object at start
tag_t (tag_t类型) point Input(输入) tag of end point
tag_t (tag_t类型) tangent_object2 Input(输入) tag of tangent object at middle
UF_CURVE_help_data_p_t help_data_p [ 2 ] Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_tangent_tangent_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature through a point and tangent to two curves.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_tangent_tangent_point
(
tag_t tangent_object1,
tag_t tangent_object2,
tag_t point,
UF_CURVE_help_data_p_t help_data_p [ 2 ] ,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) tangent_object1 Input(输入) tag of tangent object at start
tag_t (tag_t类型) tangent_object2 Input(输入) tag of tangent object at end
tag_t (tag_t类型) point Input(输入) tag of middle point
UF_CURVE_help_data_p_t help_data_p [ 2 ] Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_tangent_tangent_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative arc feature tangent to two curves and of specific radius.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_tangent_tangent_radius
(
tag_t tangent_object1,
tag_t tangent_object2,
double radius,
UF_CURVE_help_data_p_t help_data_p [ 2 ] ,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) tangent_object1 Input(输入) tag of tangent object at start
tag_t (tag_t类型) tangent_object2 Input(输入) tag of tangent object at end
double (实数型) radius Input(输入) value of radius
UF_CURVE_help_data_p_t help_data_p [ 2 ] Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative arc feature
if is_asso == FALSE - object identifier of new associative arc

 


 
UF_CURVE_create_arc_thru_3pts (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an arc or a circle passing through the user specified input points.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_arc_thru_3pts
(
int create_flag,
double first_point [ 3 ] ,
double second_point [ 3 ] ,
double third_point [ 3 ] ,
tag_t * arc_tag
)
int (整数型) create_flag Input(输入) flag indicating if an arc or a circle will be
created
= 1 -> arc will be created
= 2 -> circle will be created
double (实数型) first_point [ 3 ] Input(输入) Coordinates of the first point the arc will go
through.
double (实数型) second_point [ 3 ] Input(输入) Coordinates of the second point the arc will go
through.
double (实数型) third_point [ 3 ] Input(输入) Coordinates of the third point the arc will go
through.
tag_t * (tag_t型的指针) arc_tag Output(输出) Identifier of the arc or circle that is created

 


 
UF_CURVE_create_bridge_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Bridges two curves/edges by matching tangents or matching curvatures. You
can control the connection of the bridge curve along the two curves/edges by
specifying the parameter along each curve/edge. You have the ability to
reverse the tangent direction vector at the parameter along the curves/edges.
The routine returns the object identifier of the new bridge curve.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_bridge_curve
(
int bridge_method,
tag_t curve_ids [ 2 ] ,
double parms [ 2 ] ,
int reverse_tangent [ 2 ] ,
tag_t * bridge_id
)
int (整数型) bridge_method Input(输入) UF_CURVE_TANGENT - match tangents
UF_CURVE_CURVATURE - match curvatures
tag_t (tag_t类型) curve_ids [ 2 ] Input(输入) Object identifiers of the two curves/edges to bridge.
double (实数型) parms [ 2 ] Input(输入) Parameters on curves/edges to connect bridge.
int (整数型) reverse_tangent [ 2 ] Input(输入) Indicates whether to reverse the tangent direction
vector at the chosen parameter on the curve/edge.
0 = do not reverse
not 0 means to reverse
tag_t * (tag_t型的指针) bridge_id Output(输出) Object identifier of the bridge curve.

 


 
UF_CURVE_create_bridge_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a new bridge curve feature by bridging 2 input curves.
You can control the connection of the bridge curve along the two curves by
specifying the parameter along each curve. You have the ability to
reverse the tangent direction vector at the parameter along the curves.
You can control the shape of the curve by specifing a reference curve
or by indicating shape control values.

The routine returns the object identifier of the new bridge curve feature.
The new bridge curve is associative to the input curves and any expressions
used to determine shape or end point location.

环境
内部和外部

参见
UF_CURVE_edit_bridge_feature
UF_CURVE_ask_bridge_feature

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_bridge_feature
(
UF_CURVE_bridge_data_p_t bridge_data,
tag_p_t bridge_feature
)
UF_CURVE_bridge_data_p_t bridge_data Input(输入) Input parameters
tag_p_t bridge_feature Output(输出) Object identifier of the bridge
curve feature.

 


 
UF_CURVE_create_combine_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates parametric curve(s) by combining two curves along specified
direction vectors. When "normal to plane of curve" is specified as the
projection type, the curve must be planar. An error will be given if the
above is not true.

环境
内部和外部

参见
UF_CURVE_combine_curves_direction_t
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_combine_curves
(
tag_t first_curve_tag,
UF_CURVE_combine_curves_direction_p_t first_dir,
tag_t second_curve_tag,
UF_CURVE_combine_curves_direction_p_t second_dir,
char * curve_aprox_tol,
tag_t * combine_curve_feature
)
tag_t (tag_t类型) first_curve_tag Input(输入) First curve tag to be projected for combine
UF_CURVE_combine_curves_direction_p_t first_dir Input(输入) Pointer to projection direction
info for first curve
tag_t (tag_t类型) second_curve_tag Input(输入) Second curve tag to be projected for combine
UF_CURVE_combine_curves_direction_p_t second_dir Input(输入) Pointer to projection
direction info for second
curve
char * (字符型指针) curve_aprox_tol Input(输入) String containing the value for
the curve approximation
tolerance (distance tolerance).
tag_t * (tag_t型的指针) combine_curve_feature Output(输出) Object tag for the combined curve feature.

 


 
UF_CURVE_create_conic (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a conic curve. See the description of the data structure for
details on the interpretation of the data items.

环境
内部和外部

历史
Original release was in V13.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_conic
(
UF_CURVE_conic_p_t conic_data,
tag_t * conic
)
UF_CURVE_conic_p_t conic_data Input(输入) Data structure defining the conic to create
tag_t * (tag_t型的指针) conic Output(输出) Returned tag of curve

 


 
UF_CURVE_create_fillet (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a fillet between the specified curves. The curves can be any
combination of points, lines, arcs, conics, or splines.

A two curve fillet is an arc generated in the
counterclockwise direction from the first curve to the
second. The fillet formed is tangent to both curves. The counterclockwise
direction is determined based on the current views orientation, not the
absolute or WCS coordinate systems.

NOTE: The ability to specify whether an input curve is to be
trimmed is provided. If a "spline-type" curve is flagged to be
trimmed, the defining points and associated dimensions will be
deleted. If a trimmed curve has a length equal to zero and there is no
associative connection to the curve, the curve will be deleted.

NOTE: The center point coordinates (for 2-curve fillet) will be
projected along the Z-axis of the WCS, to the construction plane of
the fillet if necessary.

There is no 3 curve fillet so the documentation for this option has been removed.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_fillet
(
int type,
tag_t curve_objs [ 3 ] ,
double center [ 3 ] ,
double radius,
int trim_opts [ 3 ] ,
int arc_opts [ 3 ] ,
tag_t * fillet_obj
)
int (整数型) type Input(输入) The type of fillet that is to be created:
UF_CURVE_2_CURVE = create 2 curve fillet
tag_t (tag_t类型) curve_objs [ 3 ] Input(输入) Object identifiers of the curves between which the
fillet is to be created.
[0] = identifier of first curve
[1] = identifier of second curve
[2] = not used in a 2 curve fillet
double (实数型) center [ 3 ] Input(输入) Approximate fillet center expressed as absolute
coordinates
double (实数型) radius Input(输入) Radius of the fillet
int (整数型) trim_opts [ 3 ] Input(输入) Trimming options
FOR 2 CURVE FILLET:
[0] = TRUE -> trim first curve FALSE -> do not trim first
curve
[1] = TRUE -> trim second curve FALSE -> do not trim second
curve
int (整数型) arc_opts [ 3 ] Input(输入) Not used
tag_t * (tag_t型的指针) fillet_obj Output(输出) The object identifier associated to the newly
created fillet NULL_TAG = fillet unable to be created

 


 
UF_CURVE_create_int_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Intersects two sets of objects. Objects to intersect must be 1 body, 1
datum plane, 1 face collector or multiple faces (from same body) per set.
Datum planes cannot be input for both sets since the result is a
non-associative line. If you wish to intersect two datum planes you
can use UF_MODL_intersect_objects.

环境
内部和外部

参见
UF_MODL_intersect_objects
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_int_object
(
int num_objects_set_1,
tag_t * object_set_1,
int num_objects_set_2,
tag_t * object_set_2,
tag_t * int_curve_object
)
int (整数型) num_objects_set_1 Input(输入) Number of intersection objects in object_set_1 array.
tag_t * (tag_t型的指针) object_set_1 Input(输入) Array of tags of objects to intersect with objects in
object_set_2 array.
int (整数型) num_objects_set_2 Input(输入) Number of intersection objects in object_set_2 array.
tag_t * (tag_t型的指针) object_set_2 Input(输入) Array of tags of objects to intersect with objects in
object_set_1 array.
tag_t * (tag_t型的指针) int_curve_object Output(输出) Feature tag of intersection curve

 


 
UF_CURVE_create_isocline (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a new joined curve feature that consists of a new spline curve
that represents the input list of joined curves and edges. The curves
can be sketch curves. The curves or edges that you join may not have
gaps.

The Modeling distance and angle tolerance are used to create and
validate the resulting spline curve. The modeling tolerance can be
modified by UF_MODL_set_distance_tolerance or UF_MODL_set_angle_tolerance.

环境
内部和外部

参见
Refer to the example
UF_MODL_create_isocline_curves
UF_CURVE_ask_isocline
UF_CURVE_edit_isocline
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_isocline
(
int face_cnt,
tag_t faces [ ] ,
double direction [ 3 ] ,
char * start_angle,
char * end_angle,
char * step_angle,
tag_t * isocline_feat
)
int (整数型) face_cnt Input(输入) Number of faces
tag_t (tag_t类型) faces [ ] Input(输入) Array of faces used to calculate isocline curves
double (实数型) direction [ 3 ] Input(输入) Isocline direction vector
char * (字符型指针) start_angle Input(输入) Start angle (-90 to 90 degrees)
char * (字符型指针) end_angle Input(输入) End angle (-90 to 90 degrees)
char * (字符型指针) step_angle Input(输入) Step angle (NULL for single angle)
tag_t * (tag_t型的指针) isocline_feat Output(输出) Tag of new feature

 


 
UF_CURVE_create_joined_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a new spline curve that represents the input list of joined
curves and edges. The curves or edges that you join may not have gaps.

The Modeling distance and angle tolerance are used to create and
validate the resulting spline curve. The modeling tolerance can be
modified by UF_MODL_set_distance_tolerance or UF_MODL_set_angle_tolerance.

The curves you join must be input in order: either clockwise or
counterclockwise.




环境
内部和外部

参见
Refer to the example

历史
Creation method has the advanced option in NX3.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_joined_curve
(
uf_list_p_t uf_curve_list,
int creation_method,
tag_t * joined_curve,
int * status
)
uf_list_p_t uf_curve_list Input(输入) List of curves or edges to be joined
int (整数型) creation_method Input(输入) The method to join the list of curves:
1 = Polynomial Cubic
2 = General Spline
3 = polynomial quintic
4 = advanced
tag_t * (tag_t型的指针) joined_curve Output(输出) The resulting joined curve spline
int * (整数型指针) status Output(输出) A flag indicating if the joined curve returned has corners:
0 = Curve has no corners
1 = Curve has corners

 


 
UF_CURVE_create_joined_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a new joined curve feature that consists of a new spline curve
that represents the input list of joined curves and edges. The curves
can be sketch curves. The curves or edges that you join may not have
gaps.

The Modeling distance and angle tolerance are used to create and
validate the resulting spline curve. The modeling tolerance can be
modified by UF_MODL_set_distance_tolerance or UF_MODL_set_angle_tolerance.

环境
Internal and External.

参见
UF_MODL_set_distance_tolerance
UF_MODL_set_angle_tolerance
UF_STRING_p_t AKA string_list
UF_MODL_init_string_list
UF_MODL_create_string_list
UF_MODL_free_string_list

历史
This function was originally released in V15.0.
Creation method has the advanced option in NX3.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_joined_feature
(
UF_STRING_p_t uf_curve_string,
int creation_method,
tag_t * joined_curve_feature,
int * status
)
UF_STRING_p_t uf_curve_string Input(输入) string of input curves. Use
UF_MODL_init_string_list and
UF_MODL_create_string_list
to create input strings. Use
UF_MODL_free_string_list to free
memory after the string is created.
int (整数型) creation_method Input(输入) 1 - Polynomial Cubic,
2 - General Spline
3 = polynomial quintic
4 = advanced
tag_t * (tag_t型的指针) joined_curve_feature Output(输出) CRV_JOIN feature
int * (整数型指针) status Output(输出) 0 = Curve has no corners
1 = Curve has corners

 


 
UF_CURVE_create_line (查看源代码)
 
定义在: uf_curve.h
 
概述
创建直线,您通过输入直线的起点和终点,可以通过 line_coords 数据结构输入坐标数据 UF_CURVE_line_p_t.

环境
内部和外部

参见
UF_CURVE_line_p_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line
(
UF_CURVE_line_p_t line_coords,
tag_t * line
)
UF_CURVE_line_p_t line_coords Input(输入) 绝对坐标系下的直线坐标
tag_t * (tag_t型的指针) line Output(输出) 创建的新的直线对象标识符

 


 
UF_CURVE_create_line_arc (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line/arc feature. You input a UF_CURVE_line_arc_t data structure,
which specified the data needed for the line/arc to be created. Output is the
object identifier of the associative line/arc feature. An error is returned if
line/arc cannot be created with the specified data.

返回
error code

环境
内部和外部

参见
UF_CURVE_edit_line_arc
UF_CURVE_ask_line_arc_data
UF_CURVE_ask_line_arc_output
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_arc
(
UF_CURVE_line_arc_t * line_arc_data,
tag_t * line_arc_feat_id
)
UF_CURVE_line_arc_t * line_arc_data Input(输入) Pointer to line/arc data structure
tag_t * (tag_t型的指针) line_arc_feat_id Output(输出) Object identifier of new associative line/arc feature.
if is_asso == TRUE - object identifier of new associative line/arc feature.
if is_asso == FALSE - object identifier of new line/arc

 


 
UF_CURVE_create_line_point_angle (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line feature through a point and at an angle to a linear curve/edge.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_point_angle
(
tag_t point,
tag_t angle_object,
double angle_value,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) angle_object Input(输入) tag of angle object
double (实数型) angle_value Input(输入) value of angle in degree
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative line feature
if is_asso == FALSE - object identifier of new associative line

 


 
UF_CURVE_create_line_point_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line feature through two points.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_point_point
(
tag_t point1,
tag_t point2,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative line feature
if is_asso == FALSE - object identifier of new associative line

 


 
UF_CURVE_create_line_point_principal_axis (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line feature through a point and along any one principal axis.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_point_principal_axis
(
tag_t point,
UF_CURVE_principal_axis_type_t principal_axis,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
UF_CURVE_principal_axis_type_t principal_axis Input(输入) one of the 3 principal axes : UF_CURVE_X_AXIS, UF_CURVE_Y_AXIS, UF_CURVE_Z_AXIS
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative line feature
if is_asso == FALSE - object identifier of new associative line

 


 
UF_CURVE_create_line_point_tangent (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line feature through point and tangent to curve.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_point_tangent
(
tag_t point,
tag_t tangent,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) tangent Input(输入) tag of tangent object
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative line feature
if is_asso == FALSE - object identifier of new associative line

 


 
UF_CURVE_create_line_tangent_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative line feature tangent to a curve and through a point.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_line_tangent_point
(
tag_t tangent,
tag_t point,
UF_CURVE_help_data_p_t help_data_p,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) tangent Input(输入) tag of tangent object
tag_t (tag_t类型) point Input(输入) tag of end point
UF_CURVE_help_data_p_t help_data_p Input(输入) help data for tangent
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new associative line feature
if is_asso == FALSE - object identifier of new associative line

 


 
UF_CURVE_create_ocf_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associated offset curves on face feature using the input offset
data.
A UF_CURVE_ocf_data_p_t is allocated and created. A feature tag along with an
error code is returned.

环境
内部和外部

参见
Refer to the example
For examples using different selection intent rules to create section
and face collectors view:
Refer to the example
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_ocf_feature
(
UF_CURVE_ocf_data_p_t offset_data,
tag_t* feature
)
UF_CURVE_ocf_data_p_t offset_data Input(输入) Pointer to the structure
containing defining data for
the offset curve on face
operation

The offset_data->string_data->string_tag
must be created via UF_MODL_create_section.
The valid string is a section created using
a connected set of edges or curves.
If the curves are used to create section,
then they should lie on set of faces used
to create the smart face container.

The offset_data->face_data->face_tag
must be created via UF_MODL_create_smart_face_container.
The faces used to create smart container
should be a connected set and come from a
single body.
tag_t* feature Output(输出) offset curve on face feature
identifier

 


 
UF_CURVE_create_offset_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Offsets a string of curves (non-associative).

环境
内部和外部

参见
UF_CURVE_offset_data_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_offset_curve
(
UF_CURVE_offset_data_p_t offset_data_pointer,
int * num_offset_curves,
tag_t * * offset_curve_tags
)
UF_CURVE_offset_data_p_t offset_data_pointer Input(输入) Pointer to structure containing the
defining data of the offset curve.
int * (整数型指针) num_offset_curves Output(输出) Number of offset curves created
tag_t * * offset_curve_tags Output to be freed
输出并释放
Object identifiers of offset curves created.
Use UF_free to deallocate memory when done.

 


 
UF_CURVE_create_offset_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Offsets a string of curves. Returns a tag to the object which associates
input curves and defining data to the output offset curves. Use
UF_CURVE_ask_offset_curves to retrieve the offset curve tags.

Only the following types of offsets are allowed for offset_data_pointer:
UF_CURVE_OFFSET_DISTANCE_NO_TRIM
UF_CURVE_OFFSET_DISTANCE_TANGENT
UF_CURVE_OFFSET_DISTANCE_FILLET
UF_CURVE_OFFSET_DRAFT_NO_TRIM
UF_CURVE_OFFSET_DRAFT_TANGENT
UF_CURVE_OFFSET_DRAFT_FILLET
UF_CURVE_OFFSET_3D_AXIAL

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_offset_object
(
UF_CURVE_offset_data_p_t offset_data_pointer,
tag_t * offset_curve_object
)
UF_CURVE_offset_data_p_t offset_data_pointer Input(输入) Pointer to structure containing
the defining data of the offset
curve.
tag_t * (tag_t型的指针) offset_curve_object Output(输出) Object identifier of offset curve object created.

 


 
UF_CURVE_create_point (查看源代码)
 
定义在: uf_curve.h
 
概述
在绝对坐标系中创建点

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_point
(
double point_coords [ 3 ] ,
tag_t * point
)
double (实数型) point_coords [ 3 ] Input(输入) 绝对坐标系下的点坐标
tag_t * (tag_t型的指针) point Output(输出) 得到新的点对象标识符

 


 
UF_CURVE_create_proj_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates projection curves.

Objects to project may be points, curves, sketch feature identifiers, or
other projected curve feature identifiers. The "number of curves and
points" is the number of such object tags (and does not include the
numbers of curves in any sketch or projection curve feature).

For copy_flag=1 or 2, a group identifier is returned. You can perform
operations on the entire group or extract individual curves from the
group and operate on them.

CAUTION: Because multiple projection curves can be returned for
single defining curves, no attempt is made to assure that the order of
the output curves in the group corresponds to the order of the input
curves. If the order is important, for copy_flag = 1 or 2, the curves
should be projected one at a time.

NOTE: The Along Vector option (proj_type = 3) projects the selected
objects along a specified vector. You can project the curves in the
direction indicated by the vector by setting the multiplicity to 1
(single), or in both directions by setting the multiplicity to 2 (both).
The Along Vector option produces all possible images on the face.

CAUTION: For copy_flag = 2 (move), new curves/points are created
and the original curves/points are deleted.
For a projected curve feature created using copy_flag=3, the feature
can be deleted using UF_MODL_delete_feature. Individual projection
curves of the feature can not be deleted.

UF_MODL_move_feature can be used to move the projected curve feature.

Points can not be projected using "angle and vector" (proj_type = 4)
or "equal arc length" (proj_type =6).

NOTE: You can change the tolerance used to create a curve
projection by using the subroutine UF_MODL_set_distance_tolerance.
The projection along face normals or along a vector produces an exact
projection when projecting onto a plane.

环境
内部和外部

参见
UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
UF_CURVE_ask_proj_curves

历史
In V13.0, the proj_data argument was modified to add projection type
5 (toward a line), 6 (equal arc length), multiplicity, arcl_option, and the
x_vector.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_proj_curves
(
int n_curve_refs,
tag_t * curve_refs,
int n_face_refs,
tag_t * face_refs,
int copy_flag,
UF_CURVE_proj_p_t proj_data,
tag_t * proj_curve_feature
)
int (整数型) n_curve_refs Input(输入) Number of curves and points
tag_t * (tag_t型的指针) curve_refs Input(输入) Array of curve and point identifiers.
int (整数型) n_face_refs Input(输入) Number of sheet bodies, faces and planes
tag_t * (tag_t型的指针) face_refs Input(输入) Array of plane, datum plane, face or sheet body identifiers.
int (整数型) copy_flag Input(输入) Copy flag:
1 = copy
2 = move
3= associate
UF_CURVE_proj_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj_s for
entries.
tag_t * (tag_t型的指针) proj_curve_feature Output(输出) Group identifier for copy_flag = 1 or 2,
Projected curve feature identifier for
copy_flag=3

 


 
UF_CURVE_create_proj_curves1 (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates projection curves.

Objects to project may be points, curves, sketch feature identifiers, or
other projected curve feature identifiers. The "number of curves and
points" is the number of such object tags (and does not include the
numbers of curves in any sketch or projection curve feature).

For copy_flag=1 or 2, a group identifier is returned. You can perform
operations on the entire group or extract individual curves from the
group and operate on them.

CAUTION: Because multiple projection curves can be returned for
single defining curves, no attempt is made to assure that the order of
the output curves in the group corresponds to the order of the input
curves. If the order is important, for copy_flag = 1 or 2, the curves
should be projected one at a time.

NOTE: The Along Vector option (proj_type = 3) projects the selected
objects along a specified vector. You can project the curves in the
direction indicated by the vector by setting the multiplicity to 1
(single), or in both directions by setting the multiplicity to 2 (both).
The Along Vector option produces all possible images on the face.

CAUTION: For copy_flag = 2 (move), new curves/points are created
and the original curves/points are deleted.
For a projected curve feature created using copy_flag=3, the feature
can be deleted using UF_MODL_delete_feature. Individual projection
curves of the feature can not be deleted.

UF_MODL_move_feature can be used to move the projected curve feature.

Points can not be projected using "angle and vector" (proj_type = 4)
or "equal arc length" (proj_type =6).

NOTE: You can change the tolerance used to create a curve
projection by using the subroutine UF_MODL_set_distance_tolerance.
The projection along face normals or along a vector produces an exact
projection when projecting onto a plane.

环境
内部和外部

参见
UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
UF_CURVE_ask_proj_curves

历史
Originally released in NX4.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_proj_curves1
(
int n_curve_refs,
tag_t * curve_refs,
int n_face_refs,
tag_t * face_refs,
int copy_flag,
UF_CURVE_proj1_p_t proj_data,
tag_t * proj_curve_feature
)
int (整数型) n_curve_refs Input(输入) Number of curves and points
tag_t * (tag_t型的指针) curve_refs Input(输入) Array of curve and point identifiers.
int (整数型) n_face_refs Input(输入) Number of sheet bodies, faces and planes
tag_t * (tag_t型的指针) face_refs Input(输入) Array of plane, datum plane, face or sheet body identifiers.
int (整数型) copy_flag Input(输入) Copy flag:
1 = copy
2 = move
3= associate
UF_CURVE_proj1_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj1_s for
entries.
tag_t * (tag_t型的指针) proj_curve_feature Output(输出) Group identifier for copy_flag = 1 or 2,
Projected curve feature identifier for
copy_flag=3

 


 
UF_CURVE_create_shadow_outline (查看源代码)
 
定义在: uf_curve.h
 
概述
Create shadow outline for a given array of solids. Solids passed to this
routine must be on a selectable layer and visible.

环境
Internal and External
History Released in V15.0.3
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_shadow_outline
(
int solid_count,
tag_t * solid_array,
tag_t view,
int * loop_count,
int * * count_array,
tag_t * * * curve_array,
double tol [ 2 ]
)
int (整数型) solid_count Input(输入) Number of solids to shadow
tag_t * (tag_t型的指针) solid_array Input(输入) Array of Solids to Shadow
tag_t (tag_t类型) view Input(输入) View tag to project to
int * (整数型指针) loop_count Output(输出) Number of shadow loops obtained
int * * count_array Output to be freed
输出并释放
Number of curves in each loop - freed by user
tag_t * * * curve_array Output to be freed
输出并释放
Array of curve loops. Each element of this array is
a pointer to an array of tags which make up one of the
shadow loops. So curve_array[0] is a pointer to a
tag_t , which contains count_array[0] tags that make
up the first shadow loop. This must be freed by the
caller using prior freeing the entire array. Thus the
caller must free the sequence of curves starting with
curve_array[0] , curve_array[1] etc.
double (实数型) tol [ 2 ] Input(输入) tol[0] - the tolerance for loops tol[1] - tol for angle
projection

 


 
UF_CURVE_create_silhouette (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns an array of line and arc identifiers which approximates
curves and edges. The tolerance parameter determines the maximum
distance between a curve or edge and its approximated arc segments.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_silhouette
(
tag_t solid,
tag_t view,
int* count,
tag_t* * curves
)
tag_t (tag_t类型) solid Input(输入) Solid sheet or body to get silhouette curves from
tag_t (tag_t类型) view Input(输入) View to generate curves in
int* count Output(输出) Count of curves created and returned in the curves array.
tag_t* * curves Output to be freed
输出并释放
Array of curves. You are responsible for freeing the
memory allocated for this array. Use UF_free to
deallocate memory when done.

 


 
UF_CURVE_create_simplified_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns an array of line and arc identifiers which approximates
curves and edges. The tolerance parameter determines the maximum
distance between a curve or edge and its approximated arc segments.
The segments returned are in random order and may not connect
end to end in the order they are returned.

环境
Internal and External

历史
This function was originally released in V15.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_simplified_curve
(
int curves_count,
tag_t * curves,
double tolerance,
int * segments_count,
tag_t * * segments
)
int (整数型) curves_count Input(输入) Count of curves and edges
tag_t * (tag_t型的指针) curves Input(输入) Array of curve and edge identifiers
double (实数型) tolerance Input(输入) Maximum distance from arc segments to curve
int * (整数型指针) segments_count Output(输出) Pointer to count of line and arc identifiers
tag_t * * segments Output to be freed
输出并释放
Pointer to the returned array of line
and arc identifiers. This must be freed by calling
UF_free.

 


 
UF_CURVE_create_spline (查看源代码)
 
定义在: uf_curve.h
 
概述
A spline curve is created from the data in the spline_data structure.

The spline is a NURBS (NonUniform Rational B-Spline) curve. See
the description of the structure for a basic description of the data items.

If the is_rational field is nonzero, the weights must be positive. If it is
0 (non-rational), the weights are ignored.

If the is_spcurve field is nonzero, the Z coordinates are ignored.

NURBS curves need not have Bezier end conditions (be clamped).

NX currently requires that the parameter range of a spline be
0 to 1. The User Function API normalizes the knot vector and returns
a state indicating the parameter transformation thus induced.

The multiplicity of a knot is the number of times the same value
appears in the sequence. The multiplicity of the end knots cannot
exceed the order of the spline; the multiplicity of interior knots cannot
exceed order-1. The knot sequence must be monotonically
increasing. These problems and degeneracies are fixed using
tolerances assigned by Open API.

Utilities are provided to assist in removing many of these conditions
from your splines using larger tolerances.

Periodicity is determined directly from the spline data by Open API
on create. A periodic spline is identified as follows:

1. Evaluate the location and tangent vectors at the start and
end parameter values.
2. If the location vectors are the same, it is closed and is
made periodic, but it might not be smooth at the closure.
3. If the tangent vectors have the same direction, it is smooth
(G1). If the tangent vectors also have the same length, it is
parameter smooth (C1).
4. If the spline is rational, and it is also C1 in homogeneous
space, it can be unclamped. If the spline is not rational,
Cartesian space is equivalent to homogeneous space and
so it can be unclamped.
5. If it can be unclamped, the closure is made as high as
the data allows (up to degree - 1). If the closure cannot
be made C1, it is made G1. If it cannot be made G1, it is
left closed, but not smooth. (Unclamping applies knot
removal to both ends of the spline. NX chooses
knot intervals for this process that yield wrap-around
control points if the closure is C1.)

The period is determined from the parameter range as defined above,
largest minus smallest allowed values.

If the closure for a periodic curve must be checked using tolerances
larger than Open APIs defaults, use UF_CURVE_smooth_spline_data. If
degeneracies and knot problems must be fixed using tolerances larger
than Open APIs defaults, use UF_CURVE_fix_spline_data.

Specific errors: spline contains fixable problems, or unfixable
problems. An unfixable overrides the fixable return code.

环境
内部和外部

参见
UF_CURVE_ask_parameterization
UF_CURVE_fix_spline_data
UF_CURVE_smooth_spline_data

历史
This function was originally released in V15.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_spline
(
UF_CURVE_spline_p_t spline_data,
tag_p_t spline_tag,
int * num_states,
UF_CURVE_state_p_t * states
)
UF_CURVE_spline_p_t spline_data Input(输入) Address of spline structure describing the
desired curve.
tag_p_t spline_tag Output(输出) Tag of curve is returned
int * (整数型指针) num_states Output(输出) Number of entries in states array
UF_CURVE_state_p_t * states Output to be freed
输出并释放
Array of states indicating what kinds of
problems are present; if NULL no state
return is needed. This array must be freed
by calling UF_free.

 


 
UF_CURVE_create_spline_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a general spline feature. Output the feature id.

返回
error code

环境
Internal and External

参见
UF_CURVE_edit_spline_feature
UF_CURVE_ask_spline_feature

历史
Originally released in V18.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_spline_feature
(
tag_t spline,
tag_t * feature_id
)
tag_t (tag_t类型) spline Input(输入) object id of a smart spline
tag_t * (tag_t型的指针) feature_id Output(输出) pointer to object id of the spline feature

 


 
UF_CURVE_create_spline_thru_pts (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a spline curve from the input defining data specified by the
UF_CURVE_pt_slope_crvatr_s data structure (See the description of
the structure for a description of the data items). The spline passes
through the input points and conforms to the specified slopes and
curvatures.

The length of the array of parameters is num_points for non-periodic
curves and (num_points+1) for periodic ones. The difference with
periodic curves is that although we know the last point of the curve (it
is coincident with the first point), we dont know the parameter range
of the curve. Therefore, you need to provide the parameter for the
last point (num_points +1) to specify the parameter range of the
curve.

环境
内部和外部

参见
UF_CURVE_edit_spline_thru_pts
UF_CURVE_pt_slope_crvatr_t
Refer to the example

历史
Original release was in V13.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_spline_thru_pts
(
int degree,
int periodicity,
int num_points,
UF_CURVE_pt_slope_crvatr_t point_data [ ] ,
double parameters [ ] ,
int save_def_data,
tag_t* spline_tag
)
int (整数型) degree Input(输入) degree of the spline
int (整数型) periodicity Input(输入) periodicity of the spline: 0=non-periodic, 1=periodic
int (整数型) num_points Input(输入) number of points and parameters in the following arrays
UF_CURVE_pt_slope_crvatr_t point_data [ ] Input(输入) array of data defining points and
slope/curvature control
double (实数型) parameters [ ] Input(输入) parameters of input points. This is a user specified
parameterization for the input points, which needs to be
monotonic increasing (i.e. parameters(i) < parameters(i+1)
for all i), but does not need to be normalized, if NULL
then the default parameterization will be used.
int (整数型) save_def_data Input(输入) If save_def_data = 1, save input defining
data with the created spline. Otherwise, no.
tag_t* spline_tag Output(输出) tag of the created spline

 


 
UF_CURVE_create_trim (查看源代码)
 
定义在: uf_curve.h
 
概述
Create an associative trim curve feature.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_trim
(
UF_CURVE_trim_p_t trim_info,
UF_CURVE_trim_mult_p_t out_info,
tag_t * trim_feature
)
UF_CURVE_trim_p_t trim_info Input(输入) Information defining trim curve
feature desired
UF_CURVE_trim_mult_p_t out_info Output to be freed
输出并释放
If the return value is
UF_CURVE_TRIM_MULT_PTS
then this structure will
contain information about
multiple intersection points
for each boundary. The caller
can then pass the desired point
in through the suggested_point
field.
tag_t * (tag_t型的指针) trim_feature Output(输出) Created trim curve feature

 


 
UF_CURVE_create_wrap_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates a wrap or unwrap curves feature.

If wrap_unwrap_sw is UF_CURVE_WRAP, the wrap_curves will be
wrapped from the wrap_plane onto the wrap_face. The wrap_curves
should lie on the wrap_plane, however the curves will internally be
projected onto the wrap_plane along the normal to the wrap_plane
before being wrapped. If this default projection is undesirable, be sure
that the curves lie in the wrap_plane before invoking this function.

If wrap_unwrap_sw is UF_CURVE_UNWRAP, the wrap_curves will be
unwrapped from the wrap_face onto the wrap_plane. The
wrap_curves should lie on the wrap_face, however the selected curves
will internally be projected onto the wrap_face along the face normals
before being unwrapped. If this default projection is undesirable, be
sure that the curves lie in the wrap_face before invoking this function.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_create_wrap_object
(
UF_CURVE_wrap_data_p_t wrap_data,
tag_t * wrap_curve_object
)
UF_CURVE_wrap_data_p_t wrap_data Input(输入) Structure specifying the wrap /unwrap to
be created.
tag_t * (tag_t型的指针) wrap_curve_object Output(输出) Pointer to the Object Identifier of the
new wrap or unwrap feature.

 


 
UF_CURVE_edit_arc_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Edit an existing arc. You can edit (change) csys matrix, the start and
end angles, the coordinates of the arc center, and the radius by filling
out the arc_coords data structure pointed to by UF_CURVE_arc_p_t.
The arc is drawn counterclockwise from the start angle to the end
angle. The start and end angles are expressed in radians. This function
returns an error if the absolute value of the difference between the
start and end angle is greater than two pi (plus the system tolerance).
An error is also returned if the start angle is greater than the end
angle.

环境
内部和外部

参见
UF_CURVE_arc_p_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_arc_data
(
tag_t arc,
UF_CURVE_arc_p_t arc_coords
)
tag_t (tag_t类型) arc Input(输入) Object identifier of existing arc to edit
UF_CURVE_arc_p_t arc_coords Input(输入) Edited coordinates of arc in absolute space

 


 
UF_CURVE_edit_bridge_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Edit a bridge curve feature

环境
内部和外部

参见
UF_CURVE_create_bridge_feature
UF_CURVE_ask_bridge_feature

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_bridge_feature
(
tag_t bridge_feature,
UF_CURVE_bridge_data_p_t bridge_data
)
tag_t (tag_t类型) bridge_feature Input(输入) Object identifier of the bridge curve
feature
UF_CURVE_bridge_data_p_t bridge_data Input(输入) Parameters that new bridge curve
feature should have.

 


 
UF_CURVE_edit_by_curve_fit_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Save curve fit data to the curve feature and execute the editing process


In NX3, only the following three curve features are supported,
Projection curve features, Intersecion curve features and Join curve features.

From NX4 on, the following six curve features will be supported,
Projection curve features, Intersecion curve features, Join curve features.
Combined projection curve features, Isocline curve features and
Offset curve features

环境
Internal and External

参见
UF_CURVE_ask_curve_fit_data

历史
This function is introduced in NX3.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_by_curve_fit_data
(
tag_t curve_feature,
UF_CURVE_curve_fit_data curve_fit_data
)
tag_t (tag_t类型) curve_feature Input(输入) tag of the curve feature
UF_CURVE_curve_fit_data curve_fit_data Input(输入) curve fit method, maximum degree, and maximum segments

 


 
UF_CURVE_edit_combine_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits parametric curve(s) by combining two curves along specified
direction vectors. The parameters used to create the curve should be
acquired by using UF_MODL_ask_combine_curves. Any of the
original input parameters can be modified. When "normal to plane of
curve" is specified as the projection type, the curve must be planar.
An error occurs if the above is not true.

环境
内部和外部

参见
UF_CURVE_combine_curves_direction_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_combine_curves
(
tag_t combine_curve_feature,
tag_t first_curve_tag,
UF_CURVE_combine_curves_direction_p_t first_dir,
tag_t second_curve_tag,
UF_CURVE_combine_curves_direction_p_t second_dir,
char * curve_aprox_tol
)
tag_t (tag_t类型) combine_curve_feature Input(输入) Object tag for the combined curve feature to
be edited.
tag_t (tag_t类型) first_curve_tag Input(输入) First curve tag to be projected for combine.
UF_CURVE_combine_curves_direction_p_t first_dir Input(输入) Pointer to projection
direction info for first
curve.
tag_t (tag_t类型) second_curve_tag Input(输入) Second curve tag to be projected for combine.
UF_CURVE_combine_curves_direction_p_t second_dir Input(输入) Pointer to projection
direction info for second
curve.
char * (字符型指针) curve_aprox_tol Input(输入) String containing the value for the curve
approximation tolerance (distance tolerance).

 


 
UF_CURVE_edit_conic_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits the defining data of a dumb conic. A dumb conic is no longer associative.

环境
Internal & External

参见
UF_CURVE_ask_conic_data

历史
originally released in V15.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_conic_data
(
tag_t conic,
UF_CURVE_conic_p_t conic_data
)
tag_t (tag_t类型) conic Input(输入) the dumb conic to edit
UF_CURVE_conic_p_t conic_data Input(输入) defining data for the conic

 


 
UF_CURVE_edit_int_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits Intersection curves by allowing you to replace input intersection
objects. Objects to intersect must be 1 body, 1 datum plane, or
multiple faces (from same body) per set. Datum planes cannot be
input for both sets since the result is a non-associative line.

环境
内部和外部

历史
Original release was in V13.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_int_object
(
int num_object_set_1,
tag_t * object_set_1,
int num_object_set_2,
tag_t * object_set_2,
tag_t int_curve_object
)
int (整数型) num_object_set_1 Input(输入) Number of intersection objects in object_set_1 array.
tag_t * (tag_t型的指针) object_set_1 Input(输入) Array of tags of objects to intersect with objects in
object_set_2 array.
int (整数型) num_object_set_2 Input(输入) Number of intersection objects in object_set_2 array.
tag_t * (tag_t型的指针) object_set_2 Input(输入) Array of tags of objects to intersect with objects in
object_set_1 array.
tag_t (tag_t类型) int_curve_object Input(输入) Feature tag of intersection curve to edit.

 


 
UF_CURVE_edit_isocline (查看源代码)
 
定义在: uf_curve.h
 
概述
Edit isocline curve feature
Modify an isocline curve feature.

环境
内部和外部

参见
UF_CURVE_create_isocline
UF_CURVE_ask_isocline
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_isocline
(
tag_t isocline_feat,
int face_cnt,
tag_t faces [ ] ,
double direction [ 3 ] ,
char * start_angle,
char * end_angle,
char * step_angle
)
tag_t (tag_t类型) isocline_feat Input(输入) Tag of feature
int (整数型) face_cnt Input(输入) Number of faces
tag_t (tag_t类型) faces [ ] Input(输入) Array of faces used to calculate isocline curves
double (实数型) direction [ 3 ] Input(输入) Isocline direction vector
char * (字符型指针) start_angle Input(输入) Start angle (-90 to 90 degrees)
char * (字符型指针) end_angle Input(输入) End angle (-90 to 90 degrees)
char * (字符型指针) step_angle Input(输入) Step angle (NULL for single angle)

 


 
UF_CURVE_edit_joined_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits a joined curve feature.

环境
Internal and External.

参见
UF_MODL_set_distance_tolerance
UF_MODL_set_angle_tolerance
UF_STRING_p_t AKA string_list
UF_MODL_init_string_list
UF_MODL_create_string_list
UF_MODL_free_string_list

历史
This function was originally released in V15.0.
Creation method has the advanced option in NX3.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_joined_feature
(
tag_t joined_curve_feature,
UF_STRING_p_t uf_curve_string,
int creation_method,
double tols [ 3 ]
)
tag_t (tag_t类型) joined_curve_feature Input(输入) CRV_JOIN feature
UF_STRING_p_t uf_curve_string Input(输入) string of input curves. Use
UF_MODL_init_string_list and
UF_MODL_create_string_list
to create input strings. Use
UF_MODL_free_string_list to free
memory after the string is created.
int (整数型) creation_method Input(输入) 1 - Polynomial Cubic,
2 - General Spline
3 - polynomial quintic
4 - Advanced
double (实数型) tols [ 3 ] Input(输入) Tolerances
[0] - distance tol
[1] - angle tol
[2] - string tol

 


 
UF_CURVE_edit_length (查看源代码)
 
定义在: uf_curve.h
 
概述
Trim or extend the length of a user specified curve. If the method is 1,
and the length is positive, the curve is extended. If the method is 1,
and the length is negative, the curve is trimmed. If the method is 2, the curve
will be extended or trimmed as needed to make the total curve length equal to
the specified length.

Note: When this function is used on a regular spline, it will change the
length of that particular spline. However, when it is used on a spline feature,
it will create a new spline of the appropriate length, leaving the original intact.

环境
内部和外部

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_length
(
tag_t curve,
int method,
double length,
int location,
int ext_type
)
tag_t (tag_t类型) curve Input(输入) tag of curve to trim
int (整数型) method Input(输入) trim/extend method, increment or total curve length
= 1 -> trim/extend the curve incrementally by the
specified curve length
= 2 -> trim/extend the curve by making the total curve
length as the specified curve length
double (实数型) length Input(输入) incremental or total curve length
int (整数型) location Input(输入) Flag to indicate which end of the curve would be edited
= 1 -> start of curve
= 2 -> end of curve
= 3 -> both sides of curve - if method = 1, it will
extend/trim both ends by one half of the length - if method = 2,
it will determing how much the curve needs to be extended/trimmed,
and then apply half of that distance to both ends.
int (整数型) ext_type Input(输入) Shape of the extension of the curve. It can be either
of the following:
= UF_CURVE_NATURAL_SHAPE
= UF_CURVE_LINEAR_SHAPE
= UF_CURVE_CIRCULAR_SHAPE

 


 
UF_CURVE_edit_line_arc (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits an existing associative line/arc feature. An error is returned if
line/arc cannot be created with the specified data.

返回
error code

环境
内部和外部

参见
UF_CURVE_create_line_arc
UF_CURVE_ask_line_arc_data
UF_CURVE_ask_line_arc_output
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_line_arc
(
tag_t line_arc_feat_id,
UF_CURVE_line_arc_t * line_arc_data
)
tag_t (tag_t类型) line_arc_feat_id Input(输入) Object identifier of associative line/arc feature.
UF_CURVE_line_arc_t * line_arc_data Input(输入) Pointer to line/arc data structure to be filled up.

 


 
UF_CURVE_edit_line_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits (changes) the coordinates of a line. You input the tag of the
point that you would like to edit, then pass in the new coordinates
(start and end) to the line_coords data structure pointed to by
UF_CURVE_line_p_t

环境
内部和外部

参见
UF_CURVE_line_p_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_line_data
(
tag_t line,
UF_CURVE_line_p_t line_coords
)
tag_t (tag_t类型) line Input(输入) Object identifier of line to edit
UF_CURVE_line_p_t line_coords Input(输入) Edited coordinates of point in absolute space

 


 
UF_CURVE_edit_move_mult_points (查看源代码)
 
定义在: uf_curve.h
 
概述
Applies the move multiple curve points method to the editing of a
spline. The identifier of the curve to be edited is provided along with
a structure containing the details of the edit. The first four fields of
the structure are required. The two int fields are also required. The
need for the remaining double elements is based on the method
chosen.

There are three values for the displace_method element. They are:
1 = distance normal to the curve
2 = vector and distance
3 = direction point.

If displace_method1 = 1, then displace_method2 must = 1. For
values of 1 and 2 the distance1 and distance2 fields are required. For
method 3 they are not required. Vector1 and vector2 are only used by
2, the vector method. Dir_pt1 and dir_pt2 are only used by 3, the
direction point method.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_move_mult_points
(
tag_t curve_tag,
UF_CURVE_BCMMCP_t * mmcp_dat
)
tag_t (tag_t类型) curve_tag Input(输入) tag of curve
UF_CURVE_BCMMCP_t * mmcp_dat Input(输入) Structure containing spline edit data. The structure
is defined in uf_curve.h

 


 
UF_CURVE_edit_ocf_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits an associated offset curves on face feature using the input offset data
A UF_CURVE_ocf_data_p_t is allocated and filled.
The input UF_CURVE_ocf_data_p_t is used to update the feature and the feature
is updated to reflect the changes

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_ocf_feature
(
UF_CURVE_ocf_data_p_t offset_data,
tag_t feature
)
UF_CURVE_ocf_data_p_t offset_data Input(输入) Pointer to the structure
containing defining data
for the offset curve on face
operation
tag_t (tag_t类型) feature Input(输入) Offset curve on face
identifier

 


 
UF_CURVE_edit_offset_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits the creation parameters of an offset curve object.

Only the following types of offsets are allowed for offset_data_pointer:
UF_CURVE_OFFSET_DISTANCE_NO_TRIM
UF_CURVE_OFFSET_DISTANCE_TANGENT
UF_CURVE_OFFSET_DISTANCE_FILLET
UF_CURVE_OFFSET_DRAFT_NO_TRIM
UF_CURVE_OFFSET_DRAFT_TANGENT
UF_CURVE_OFFSET_DRAFT_FILLET
UF_CURVE_OFFSET_3D_AXIAL

环境
Internal & External
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_offset_object
(
UF_CURVE_offset_data_p_t offset_data_pointer,
tag_t offset_curve_object
)
UF_CURVE_offset_data_p_t offset_data_pointer Input(输入) Pointer to structure containing
the defining data of the offset
curve.
tag_t (tag_t类型) offset_curve_object Input(输入) Object identifier of offset curve object to be
edited.

 


 
UF_CURVE_edit_point_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits (changes) the coordinates of a point. You input the tag of the
point that you would like to edit, then pass in the new coordinate
values.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_point_data
(
tag_t point,
double point_coords [ 3 ]
)
tag_t (tag_t类型) point Input(输入) Object identifier of point to edit
double (实数型) point_coords [ 3 ] Input(输入) Edited coordinates of point in absolute space

 


 
UF_CURVE_edit_proj_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits projection curve features.

Objects to project may be points, curves, sketch feature identifiers, or
other projected curve feature identifiers. The "number of curves and
points" is the number of such object tags (and does not include the
numbers of curves in any sketch or projection curve feature).

NOTE: The Along Vector option (proj_type = 3) projects the selected
objects along a specified vector. You can project the curves in the
direction indicated by the vector by setting the multiplicity to 1
(single), or in both directions by setting the multiplicity to 2 (both).
The Along Vector option produces all possible images on the face.

Points can not be projected using "angle and vector" (proj_type = 4)
or "equal arc length" (proj_type =6).

NOTE: You can change the tolerance used to create a curve
projection by using the subroutine UF_MODL_set_distance_tolerance.
The projection along face normals or along a vector produces an exact
projection when projecting onto a plane.

环境
内部和外部

参见
UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
UF_CURVE_ask_proj_curves
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_proj_curves
(
tag_t proj_curve_feature,
int n_curve_refs,
tag_t * curve_refs,
int n_face_refs,
tag_t * face_refs,
UF_CURVE_proj_p_t proj_data
)
tag_t (tag_t类型) proj_curve_feature Input(输入) Projected curve feature identifier
int (整数型) n_curve_refs Input(输入) Number of curves and points
tag_t * (tag_t型的指针) curve_refs Input(输入) Array of curve and point identifiers.
int (整数型) n_face_refs Input(输入) Number of sheet bodies, faces and planes
tag_t * (tag_t型的指针) face_refs Input(输入) Array of plane, datum plane, face or sheet body identifiers.
UF_CURVE_proj_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj_s for
entries.

 


 
UF_CURVE_edit_proj_curves1 (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits projection curve features.

Objects to project may be points, curves, sketch feature identifiers, or
other projected curve feature identifiers. The "number of curves and
points" is the number of such object tags (and does not include the
numbers of curves in any sketch or projection curve feature).

NOTE: The Along Vector option (proj_type = 3) projects the selected
objects along a specified vector. You can project the curves in the
direction indicated by the vector by setting the multiplicity to 1
(single), or in both directions by setting the multiplicity to 2 (both).
The Along Vector option produces all possible images on the face.

Points can not be projected using "angle and vector" (proj_type = 4)
or "equal arc length" (proj_type =6).

NOTE: You can change the tolerance used to create a curve
projection by using the subroutine UF_MODL_set_distance_tolerance.
The projection along face normals or along a vector produces an exact
projection when projecting onto a plane.

环境
内部和外部

参见
UF_MODL_create_proj_curves
UF_MODL_ask_proj_curves
UF_CURVE_ask_proj_curves

历史
Originally released in NX4.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_proj_curves1
(
tag_t proj_curve_feature,
int n_curve_refs,
tag_t * curve_refs,
int n_face_refs,
tag_t * face_refs,
UF_CURVE_proj1_p_t proj_data
)
tag_t (tag_t类型) proj_curve_feature Input(输入) Projected curve feature identifier
int (整数型) n_curve_refs Input(输入) Number of curves and points
tag_t * (tag_t型的指针) curve_refs Input(输入) Array of curve and point identifiers.
int (整数型) n_face_refs Input(输入) Number of sheet bodies, faces and planes
tag_t * (tag_t型的指针) face_refs Input(输入) Array of plane, datum plane, face or sheet body identifiers.
UF_CURVE_proj1_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj1_s for
entries.

 


 
UF_CURVE_edit_spline_feature (查看源代码)
 
定义在: uf_curve.h
 
概述
Edit a general spline feature.

返回
error code

环境
Internal and External

参见
UF_CURVE_create_spline_feature
UF_CURVE_ask_spline_feature

历史
Originally released in V18.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_spline_feature
(
tag_t spline,
tag_t feature_id
)
tag_t (tag_t类型) spline Input(输入) object id of a new smart spline
tag_t (tag_t类型) feature_id Input(输入) object id of the spline feature being edited

 


 
UF_CURVE_edit_spline_thru_pts (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits the defining data of a spline, which is replaced by the new input
data as specified. If the spline has no or incomplete defining data, its
shape is recreated from the input defining data.

The length of the array of parameters is num_points for non-periodic
curves and (num_points+1) for periodic ones. The difference with
periodic curves is that although we know the last point of the curve, it
is the first point, we dont know the parameter range of the curve. You
need to give us the parameter for the last point so we know the
parameter range of the curve.

环境
内部和外部

参见
UF_CURVE_create_spline_thru_pts
UF_CURVE_edit_spline_thru_pts
UF_CURVE_pt_slope_crvatr_t
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_spline_thru_pts
(
tag_t spline_tag,
int degree,
int periodicity,
int num_points,
UF_CURVE_pt_slope_crvatr_t * point_data,
double * parameters,
int save_def_data
)
tag_t (tag_t类型) spline_tag Input(输入) tag of the spline to be edited
int (整数型) degree Input(输入) degree of the spline
int (整数型) periodicity Input(输入) periodicity of the spline
int (整数型) num_points Input(输入) number of points and parameters in the following arrays
UF_CURVE_pt_slope_crvatr_t * point_data Input(输入) array of data defining points and
slope/curvature control
double * (实数型指针) parameters Input(输入) parameters of input points. This is a
user specified parameterization for the
input points, which needs to be
monotonic increasing, but does not
need to be normalized, if NULL then
default parameterization will be used
int (整数型) save_def_data Input(输入) If save_def_data = 1, save input
defining data with the created spline. Otherwise, no.

 


 
UF_CURVE_edit_trim (查看源代码)
 
定义在: uf_curve.h
 
概述
Change the parameters of an associative trim curve feature to the parameters
supplied

环境
内部和外部

参见
Refer to the example

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_trim
(
tag_t trim_feature,
UF_CURVE_trim_p_t trim_info
)
tag_t (tag_t类型) trim_feature Input(输入) Trim curve feature whose parameters
are to be changed
UF_CURVE_trim_p_t trim_info Input(输入) Information defining the trim curve
features desired parameters

 


 
UF_CURVE_edit_trim_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Trims a curve to a bounding object. The bounding object can be a
curve, edge, plane, face, or point. The reference point is used to
determine which end of the curve to trim. The reference point is also
used to start the iteration that determines the intersection point of the
curve and the bounding object. The extension shape (ext_ind)
parameter is used when the curve is extended.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_trim_curve
(
tag_t curve_tag,
tag_t bounding_id,
double ref_point [ 3 ] ,
double int_point [ 3 ] ,
int ext_ind
)
tag_t (tag_t类型) curve_tag Input(输入) tag of curve to trim
tag_t (tag_t类型) bounding_id Input(输入) tag of first bounding object ( curve, edge, plane,
face, point)
double (实数型) ref_point [ 3 ] Input(输入) ref_point[3] are the coordinates of a point used to
specify which portion of the curve to trim also used
as start point intersection point iteration (ACS)
double (实数型) int_point [ 3 ] Input(输入) int_point[3] is the start point for finding the
intersection of the curve to trim and the bounding object.
int (整数型) ext_ind Input(输入) shape of the extension of the curve:
UF_CURVE_NATURAL_SHAPE
UF_CURVE_LINEAR_SHAPE
UF_CURVE_CIRCULAR_SHAPE

 


 
UF_CURVE_edit_with_template (查看源代码)
 
定义在: uf_curve.h
 
概述
Edit a B-curve with the spline order and knot vector taken from a
template curve, when possible.

RESTRICTIONS -

1. In some cases the edit curve cannot be edited with the selected template
curve. In these cases the spline order and knot vector of the edited
curve are different from the template curve, and the edited curve is
interpolated. These cases are distinguished by the error_data parameter.

Failure return code: TEMPLATE_CURVE_UNABLE_TO_EDIT

环境
内部和外部

参见
UF_MODL_create_curve_mesh1 and UF_MODL_create_thru_curves1
UF_MODL_create_curve_mesh1
UF_MODL_create_thru_curves1

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_with_template
(
tag_t edit_id,
tag_t template_id,
UF_CURVE_fit_error_p_t error_data
)
tag_t (tag_t类型) edit_id Input(输入) Curve to edit
tag_t (tag_t类型) template_id Input(输入) Template curve
Spline order and knot vector are taken from template
curve
UF_CURVE_fit_error_p_t error_data Output(输出) Error data returned by edit with template.

 


 
UF_CURVE_edit_wrap_object (查看源代码)
 
定义在: uf_curve.h
 
概述
Edits the creation parameters of a wrap or unwrap curves feature.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_edit_wrap_object
(
UF_CURVE_wrap_data_p_t wrap_data,
tag_t wrap_curve_object
)
UF_CURVE_wrap_data_p_t wrap_data Input(输入) Structure specifying the new wrap/unwrap
data for wrap_curve_object.
tag_t (tag_t类型) wrap_curve_object Input(输入) Object Identifier of the wrap or unwrap feature.

 


 
UF_CURVE_evaluate_curve (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the point on the curve and the requested derivatives.
This function differs from UF_MODL_evaluate_curve in two ways:

The param and deriv_flag are not pointers, and the param value is
specified in the "natural" parameter range of the curve. For example,
to evaluate an arc, UF_MODL_evaluate_curve takes a parameter
value between 0 and 1, normalized to the parameter range of the arc
when created. UF_CURVE_evaluate_curve takes a parameter in
radians, in the parameter range given when the arc was created.

环境
内部和外部

参见
UF_MODL_evaluate_curve
UF_CURVE_ask_parameterization
UF_CURVE_evaluate_curve_structure
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_evaluate_curve
(
tag_t curve,
double param,
int deriv_flag,
double pos_and_deriv [ ]
)
tag_t (tag_t类型) curve Input(输入) Tag of curve to evaluate
double (实数型) param Input(输入) Parameter value at which to evaluate
int (整数型) deriv_flag Input(输入) Number of derivatives to evaluate:
UF_CURVE_LOC = return the point
UF_CURVE_LOC_1STDERV = return the point and 1st derivative
UF_CURVE_LOC_1STDERV_2NDDERV = return the point, 1st and
2nd derivatives
double (实数型) pos_and_deriv [ ] Output(输出) Position and derivatives.
Dimension of the array = 3 (deriv_flag+1)

 


 
UF_CURVE_evaluate_curve_structure (查看源代码)
 
定义在: uf_curve.h
 
概述
Returns the point on the curve and the requested derivatives.
This function differs from UF_MODL_evaluate_curve in two ways:

The param and deriv_flag are not pointers, and the param value is
specified in the "natural" parameter range of the curve. For example,
to evaluate an arc, UF_MODL_evaluate_curve takes a parameter
value between 0 and 1, normalized to the parameter range of the arc
when created. UF_CURVE_evaluate_curve takes a parameter in
radians, in the parameter range given when the arc was created.

This function differs from UF_CURVE_evaluate_curve is that the input is a curve
data structure instead of a curve tag.

环境
内部和外部

参见
UF_MODL_evaluate_curve
UF_CURVE_ask_parameterization
UF_CURVE_evaluate_curve
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_evaluate_curve_structure
(
UF_CURVE_struct_t * curve_data_ptr,
double param,
int deriv_flag,
double * pos_and_deriv
)
UF_CURVE_struct_t * curve_data_ptr Input(输入) Data structure of curve to evaluate
double (实数型) param Input(输入) Parameter value at which to evaluate
int (整数型) deriv_flag Input(输入) Number of derivatives to evaluate:
UF_CURVE_LOC = return the point
UF_CURVE_LOC_1STDERV = return the point and 1st derivative
UF_CURVE_LOC_1STDERV_2NDDERV = return the point, 1st and
2nd derivatives
double * (实数型指针) pos_and_deriv Output(输出) Position and derivatives.
Dimension of the array = 3 (deriv_flag+1)

 


 
UF_CURVE_fix_spline_data (查看源代码)
 
定义在: uf_curve.h
 
概述
This function scans the spline data for degeneracies, points that are or
potentially are non-C0, and knot values too close together.

If any degeneracies are found, it attempts to fix them by moving one
or more control points. If that is not successful, points and knots will
be removed, reducing the degree if necessary.

If any non-C0 or potentially non-C0 control points are found they
are coerced to C0.

If any two adjacent knot values that are distinct are not separated by
enough, they are fixed.

The fixed-up data are returned in the same memory as the supplied data.

If valid spline data cannot be returned, it means that the data cannot
be represented by a linear line of nonzero length; it is too short. The
flags in the states return with "WAS" in the name indicate the status
of the input curve data; the output data, if there is no error, is always
valid. The flag with "IS" in the name indicates the status of the
output curve.

Removing degeneracies and fixing illegal knot vectors may introduce
discontinuities.

Specific errors: spline is completely degenerate.







This Figure shows two possible problems with spline data. (Neither
one is to scale.) In the first case (A), the spline has an illegal knot
multiplicity at value 1. It is not C0: there is a gap between points 2 and
3. It is fixed. If poles 2 and 3 are coincident, the shape of the spline is
not changed. If they are not, the spline is changed, and a state is
returned.

In the second case (B), the spline is fixed by pushing poles 2 and 4
away from 3, if it is possible to do so without causing other problems.
If that would introduce other problems, poles and knots are deleted
until the spline is no longer degenerate.

环境
内部和外部

参见
UF_BREP_attach_geometry
UF_CURVE_create_spline

历史
This function was originally released in V15.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_fix_spline_data
(
UF_CURVE_spline_p_t spl,
double toler,
int * num_states,
UF_CURVE_state_p_t * states
)
UF_CURVE_spline_p_t spl Input / Output spline data in which to fix degeneracies and
knot multiplcities
double (实数型) toler Input(输入) tolerance to use for determining degeneracies.
zero indicates use NX modelling resolution.
int * (整数型指针) num_states Output(输出) number of returned states
UF_CURVE_state_p_t * states Output to be freed
输出并释放
Pointer to state array pointer to receive state
information. If a NULL pointer value is provided,
no states are returned. The caller is responsible
for freeing this by calling UF_free.

 


 
UF_CURVE_free_curve_struct (查看源代码)
 
定义在: uf_curve.h
 
概述
Frees the curve structure pointer obtained from the function
UF_CURVE_ask_curve_struct().

NOTE: This routine is to be permanently withdrawn in the near
future. Use the routines in the UF_EVAL module instead.
Frees the curve structure pointer obtained from the function
UF_CURVE_ask_curve_struct.

环境
内部和外部

参见
Refer to the example
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_free_curve_struct
(
UF_CURVE_struct_p_t curve_struct
)
UF_CURVE_struct_p_t curve_struct Input(输入) Curve structure pointer

 


 
UF_CURVE_free_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Free the input offset data allocated during crate/edit of an associated
offset curves on face feature.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_free_ocf_data
(
UF_CURVE_ocf_data_p_t * offset_data
)
UF_CURVE_ocf_data_p_t * offset_data Input / Output Free the data allocated
to define the offset
curve on face feature.

 


 
UF_CURVE_free_offset_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
This routine should be called after a call to
UF_CURVE_ask_offset_parms in order to free the space allocated by
this routine.

环境
内部和外部

参见
UF_CURVE_ask_offset_parms
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_free_offset_parms
(
UF_CURVE_offset_data_p_t offset_data_pointer
)
UF_CURVE_offset_data_p_t offset_data_pointer Input(输入) Pointer to structure containing
the defining data of the offset
curve.

 


 
UF_CURVE_free_trim (查看源代码)
 
定义在: uf_curve.h
 
概述
Free the memory within the UF_CURVE_trim_p_t structure that was allocated
by a call to UF_CURVE_ask_trim

环境
内部和外部

参见
Refer to the example

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_free_trim
(
UF_CURVE_trim_p_t trim_info
)
UF_CURVE_trim_p_t trim_info Input(输入) Information defining the trim curve
features parameters that was
generated by a call to
UF_CURVE_ask_trim

 


 
UF_CURVE_free_wrap_parms (查看源代码)
 
定义在: uf_curve.h
 
概述
Frees any data structures pointed to by the input structure. The
existing pointers will be set to NULL after the associated memory is
freed. The memory for the UF_CURVE_wrap_data_t structure is not
freed by this function.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_free_wrap_parms
(
UF_CURVE_wrap_data_p_t wrap_data
)
UF_CURVE_wrap_data_p_t wrap_data Input(输入) Structure specifying the wrap/unwrap to be
freed.

 


 
UF_CURVE_init_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Initialize a offset data structure for an associated offset curve in face
feature. This function assumes that memory has already been allocated

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_init_ocf_data
(
UF_CURVE_ocf_data_p_t uf_offset_data
)
UF_CURVE_ocf_data_p_t uf_offset_data Input(输入) Init the data defining
the offset curve on face
feature

 


 
UF_CURVE_init_proj_curves_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Initialize a project curve (UF_CURVE_proj_p_t) data structure for an
associated project curve feature. This function assumes that memory has already been allocated

环境
内部和外部

历史
Originally released in NX4.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_init_proj_curves_data
(
UF_CURVE_proj_p_t proj_data
)
UF_CURVE_proj_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj_s for
entries.

 


 
UF_CURVE_init_proj_curves_data1 (查看源代码)
 
定义在: uf_curve.h
 
概述
Initialize a project curve (UF_CURVE_proj1_p_t) data structure for an
associated project curve feature. This function assumes that memory has already been allocated

环境
内部和外部

历史
Originally released in NX4.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_init_proj_curves_data1
(
UF_CURVE_proj1_p_t proj_data
)
UF_CURVE_proj1_p_t proj_data Input(输入) Pointer to projection curve data structure.
See documentation of UF_CURVE_proj1_s for
entries.

 


 
UF_CURVE_intersect (查看源代码)
 
定义在: uf_curve.h
 
概述
Determine intersection between curve/edge and a
curve/edge/face/single face body/plane/datum plane. The intersection
will be done in the orientation of the current WCS when the entity
is a curve/edge otherwise in 3D. If the intersection is an actual
3D intersection then that information will be output. Also the intersection
between the naturally extended version of the curve or edge will be
returned if needed, however, only a curve will be extended when the
entity is something other than a curve/edge.

返回
error code

环境
Internal and External

历史
Originally released in V18.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_intersect
(
tag_t curve,
tag_t entity,
double ref_point [ 3 ] ,
UF_CURVE_intersect_info_p_t out_info
)
tag_t (tag_t类型) curve Input(输入) object id of the curve or edge
tag_t (tag_t类型) entity Input(输入) object id of the curve, edge, face,
single face body, plane or datum plane
double (实数型) ref_point [ 3 ] Input(输入) reference point to select from
multiple intersections, intersection closest
to this point will be output
UF_CURVE_intersect_info_p_t out_info Output(输出) - intersection information

 


 
UF_CURVE_is_spline_in_sync (查看源代码)
 
定义在: uf_curve.h
 
概述
Queries if a spline is in synchronization with its defining data. The
shape of a spline is determined by its control pole data, which could
be obtained from its defining data. If the control pole data of a spline
is matched with its defining data, then the spline is in synchronization,
otherwise, the spline is out of synchronization. For example, users can
modify the control pole data of a spline after it is created from the
defining data, in this case, it is out of synchronization.

环境
内部和外部

参见
UF_CURVE_create_spline_thru_pts
UF_CURVE_ask_spline_thru_pts
UF_CURVE_edit_spline_thru_pts

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

 
int UF_CURVE_is_spline_in_sync
(
tag_t spline_tag,
logical * is_sync
)
tag_t (tag_t类型) spline_tag Input(输入) tag of the spline
logical * is_sync Output(输出) TRUE = the spline is in synchronization with its
defining data.
FALSE = the spline is out of synchronization
with its defining data.

 


 
UF_CURVE_is_spline_self_int (查看源代码)
 
定义在: uf_curve.h
 
概述
Determines whether a spline has self intersecting loops.

环境
内部和外部

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

 
int UF_CURVE_is_spline_self_int
(
tag_t spline_tag,
logical * is_self_intersecting
)
tag_t (tag_t类型) spline_tag Input(输入) Object identifier of spline to inquire.
logical * is_self_intersecting Output(输出) TRUE - spline is self intersecting (has loops)
FALSE - spline is not self intersecting.

 


 
UF_CURVE_LINE_ARC__is_arc_equal (查看源代码)
 
定义在: uf_curve.h
 
概述
Test whethere two arcs are geometrically different

返回
0 - Two Arcs are geometrically identical
1 - Two Arcs are geometrically different

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_LINE_ARC__is_arc_equal
(
tag_t arc1,
tag_t arc2
)
tag_t (tag_t类型) arc1 Input(输入) tag of arc 1
tag_t (tag_t类型) arc2 Input(输入) tag of arc 2

 


 
UF_CURVE_LINE_ARC__is_line_equal (查看源代码)
 
定义在: uf_curve.h
 
概述
Test whether two lines are geometrically different

返回
0 - Two Lines are geometrically identical
1 - Two Lines are geometrically different

环境
Internal and External
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_LINE_ARC__is_line_equal
(
tag_t line1,
tag_t line2
)
tag_t (tag_t类型) line1 Input(输入) tag of line 1
tag_t (tag_t类型) line2 Input(输入) tag of line 2

 


 
UF_CURVE_modify_offsets_in_string (查看源代码)
 
定义在: uf_curve.h
 
概述
Modify the offset values associated with a string in an associated offset
curves on face feature.
If the string does not exist an error is returned.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_modify_offsets_in_string
(
tag_t string_tag,
UF_CURVE_ocf_data_p_t uf_offset_data,
int num_offsets,
UF_CURVE_ocf_values_p_t offset_distance
)
tag_t (tag_t类型) string_tag Input(输入) Identifier to string that
has to be modified
UF_CURVE_ocf_data_p_t uf_offset_data Input / Output Pointer to data
defining the offset
curve on face
operation
int (整数型) num_offsets Input(输入) New number of offsets to
create
UF_CURVE_ocf_values_p_t offset_distance Input(输入) New offset distances

 


 
UF_CURVE_ocf_ask_curves (查看源代码)
 
定义在: uf_curve.h
 
概述
Return all offset curves for the associated offset curves on face feature
The caller has to free the memory allocated when offset_curves is returned.

环境
内部和外部
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_CURVE_ocf_ask_curves
(
tag_t feature_eid,
int * num_curves,
tag_t * * offset_curves
)
tag_t (tag_t类型) feature_eid Input(输入) : Identifier to the offset curve on face
feature
int * (整数型指针) num_curves Output(输出) : Number of offset curves created
tag_t * * offset_curves Output to be freed
输出并释放
pointer to array containing the offset curve
identifiers

 


 
UF_CURVE_ocf_offset_pt_direction (查看源代码)
 
定义在: uf_curve.h
 
概述
Given a section tag and the face collector tag, get the default offset
direction and a reference point on the section.
The offset point and the offset direction is returned along with
an error code that indicates if the default offset direction was
computed succesfully or not.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_ocf_offset_pt_direction
(
tag_t uf_string_tag,
tag_t uf_face_collector_tag,
double offset_point [ 3 ] ,
double offset_direction [ 3 ]
)
tag_t (tag_t类型) uf_string_tag Input(输入) Section tag
tag_t (tag_t类型) uf_face_collector_tag Input(输入) Face Collector tag
double (实数型) offset_point [ 3 ] Output(输出) Reference Point
double (实数型) offset_direction [ 3 ] Output(输出) Default offset direction

 


 
UF_CURVE_remove_string_from_ocf_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Remove a string from the associated offset curves in face feature.

If the string is not found, an error is returned.

环境
内部和外部
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_remove_string_from_ocf_data
(
tag_t string_tag,
UF_CURVE_ocf_data_p_t uf_offset_data
)
tag_t (tag_t类型) string_tag Input(输入) Identifier of string
UF_CURVE_ocf_data_p_t uf_offset_data Input / Output Pointer to the data
defining the offset curve
on face operation

 


 
UF_CURVE_section_ask_parallel_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Outputs the defining data structures for a section curves feature
defined using a set of parallel planes.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_ask_parallel_data
(
tag_t section_curves_feature,
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_parallel_data_p_t parallel_data
)
tag_t (tag_t类型) section_curves_feature Input(输入) The section curve
feature to inquire about.
UF_CURVE_section_general_data_p_t general_data Output to be freed
输出并释放
The general data describing this section curve feature.
Use UF_free to free the array, general_data->objects
UF_CURVE_section_parallel_data_p_t parallel_data Output(输出) The data defining
the parallel planes
for this feature.

 


 
UF_CURVE_section_ask_perpcrv_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Outputs the defining data structures for a section curves feature
defined using a set of planes perpendicular to a curve.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_ask_perpcrv_data
(
tag_t section_curves_feature,
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_perpcrv_data_p_t perpcrv_data
)
tag_t (tag_t类型) section_curves_feature Input(输入) The section curve
feature to inquire about.
UF_CURVE_section_general_data_p_t general_data Output to be freed
输出并释放
The general data describing this section curve feature.
Use UF_free to free the array, general_data->objects
UF_CURVE_section_perpcrv_data_p_t perpcrv_data Output(输出) The data defining
the set of planes
perpendicular to a curve
for this feature.

 


 
UF_CURVE_section_ask_planes_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Outputs the defining data structures for a section curves feature
defined using an array of planes.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_ask_planes_data
(
tag_t section_curves_feature,
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_planes_data_p_t planes_data
)
tag_t (tag_t类型) section_curves_feature Input(输入) The section curve
feature to inquire about.
UF_CURVE_section_general_data_p_t general_data Output to be freed
输出并释放
The general data describing this section curve feature.
Use UF_free to free the array, general_data->objects
UF_CURVE_section_planes_data_p_t planes_data Output to be freed
输出并释放
The section planes data describing this feature.
Use UF_free to free the array, planes_data->planes

 


 
UF_CURVE_section_ask_radial_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Outputs the defining data structures for a section curves feature
defined using a set of radial planes.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_ask_radial_data
(
tag_t section_curves_feature,
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_radial_data_p_t radial_data
)
tag_t (tag_t类型) section_curves_feature Input(输入) The section curve
feature to inquire about.
UF_CURVE_section_general_data_p_t general_data Output to be freed
输出并释放
The general data describing this section curve feature.
Use UF_free to free the array, general_data->objects
UF_CURVE_section_radial_data_p_t radial_data Output(输出) The data defining the
radial planes for
this feature.

 


 
UF_CURVE_section_ask_type (查看源代码)
 
定义在: uf_curve.h
 
概述
Given a section curves feature, this function returns
the type of planes used in the sectioning.

Return
0 if no error
WRONG_FEATURE_TYPE if not a section curves feature

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_ask_type
(
tag_t section_curves_feature,
int * plane_type
)
tag_t (tag_t类型) section_curves_feature Input(输入) The tag of the section
curves feature to inquire.
int * (整数型指针) plane_type Output(输出) The plane type:
0 for an array of planes
1 for parallel planes
2 for radial planes
3 for planes perpendicular to a curve

 


 
UF_CURVE_section_curve_ask_parents (查看源代码)
 
定义在: uf_curve.h
 
概述
Given a section curve, this function returns the section curves
feature, if any, and the defining object and sectioning objects.

Return
0 if no error
WRONG_FEATURE_TYPE if not a section curves feature

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

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

 
int UF_CURVE_section_curve_ask_parents
(
tag_t section_curve,
tag_t * section_curves_feature,
int * plane_type,
tag_t * defining_object,
tag_t sectioning_objects [ 2 ]
)
tag_t (tag_t类型) section_curve Input(输入) The section curve to inquire.
tag_t * (tag_t型的指针) section_curves_feature Output(输出) The section curves feature, or
NULL_TAG, if none.
int * (整数型指针) plane_type Output(输出) The plane type:
0 for array of planes
1 for parallel planes
2 for radial planes
3 for planes perpendicular to a
curve.
tag_t * (tag_t型的指针) defining_object Output(输出) The object sectioned.
tag_t (tag_t类型) sectioning_objects [ 2 ] Output(输出) The sectioning objects

For plane_type = 0:
sectioning_objects[0] = plane eid
sectioning_objects[1] = NULL_TAG

For plane_type = 1:
sectioning_objects[0] = base plane
sectioning_objects[1] = NULL_TAG

For plane_type = 2:
sectioning_objects[0] = datum axis eid
sectioning_objects[1] = point on plane

For plane_type = 3:
sectioning_objects[0] = curve eid
sectioning_objects[1] = plane eid
(NULL_TAG if none)

 


 
UF_CURVE_section_from_parallel_planes (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates an associative section curve feature or non-associative
group of section curves using a set of parallel planes.

NOTE - If an object in the general data objects array is not fully loaded,
the section curve will not be created for that object.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

历史
Originally released in V17.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_section_from_parallel_planes
(
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_parallel_data_p_t parallel_data,
tag_t * section_curves
)
UF_CURVE_section_general_data_p_t general_data Input(输入) Data provided
by the user to to be
used in creating the
section curve feature.
UF_CURVE_section_parallel_data_p_t parallel_data Input(输入) Data provided
by the user describing
the parallel planes.
tag_t * (tag_t型的指针) section_curves Output(输出) Feature tag, if general_data->associate is 1, or
Group tag of section curves if general_data->associate is 0
and general_data->grouping is 0, or
Group tag of groups of curves if general_data->associate is 0
and general_data->grouping is 1

 


 
UF_CURVE_section_from_perpcrv_planes (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates an associative section curve feature or non-associative
group of section curves using a set of planes perpendicular to a
curve.

NOTE - If an object in the general data objects array is not fully loaded,
the section curve will not be created for that object.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

历史
Originally released in V17.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_section_from_perpcrv_planes
(
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_perpcrv_data_p_t perpcrv_data,
tag_t * section_curves
)
UF_CURVE_section_general_data_p_t general_data Input(输入) Data provided
by the user to to be
used in creating the
section curve feature.
UF_CURVE_section_perpcrv_data_p_t perpcrv_data Input(输入) Data provided
by the user describing
the perpendicular
curves.
tag_t * (tag_t型的指针) section_curves Output(输出) Feature tag, if general_data->associate is 1, or
Group tag of section curves if general_data->associate is 0
and general_data->grouping is 0, or
Group tag of groups of curves if general_data->associate is 0
and general_data->grouping is 1

 


 
UF_CURVE_section_from_planes (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates an associative section curve feature or non-associative
group of section curves using an array of planes.

NOTE - If an object in the general data objects array is not fully loaded,
the section curve will not be created for that object.


See the example below for a sample execution of this function.

环境
Internal and External

参见
UF_CURVE_section_ask_planes_data
UF_CURVE_section_from_parallel_planes
UF_CURVE_section_ask_parallel_data
UF_CURVE_section_from_radial_planes
UF_CURVE_section_ask_radial_data
UF_CURVE_section_from_perpcrv_planes
UF_CURVE_section_ask_perpcrv_data
UF_CURVE_section_ask_type
UF_CURVE_section_curve_ask_parents
UF_CURVE_ask_feature_curves
UF_CURVE_create_int_object
UF_MODL_intersect_objects

Refer to the example

历史
Originally released in V17.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_section_from_planes
(
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_planes_data_p_t planes_data,
tag_t * section_curves
)
UF_CURVE_section_general_data_p_t general_data Input(输入) Data provided
by the user to to be
used in creating the
section curve feature.
UF_CURVE_section_planes_data_p_t planes_data Input(输入) Sectioning planes
and datum planes.
tag_t * (tag_t型的指针) section_curves Output(输出) Feature tag, if general_data->associate is 1, or
Group tag of section curves if general_data->associate is 0
and general_data->grouping is 0, or
Group tag of groups of curves if general_data->associate is 0
and general_data->grouping is 1

 


 
UF_CURVE_section_from_radial_planes (查看源代码)
 
定义在: uf_curve.h
 
概述
Creates an associative section curve feature or non-associative
group of section curves using a set of radial planes.

NOTE - If an object in the general data objects array is not fully loaded,
the section curve will not be created for that object.

环境
Internal and External

参见
See UF_CURVE_section_from_planes for a list of related functions.

历史
Originally released in V17.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_section_from_radial_planes
(
UF_CURVE_section_general_data_p_t general_data,
UF_CURVE_section_radial_data_p_t radial_data,
tag_t * section_curves
)
UF_CURVE_section_general_data_p_t general_data Input(输入) Data provided
by the user to to be
used in creating the
section curve feature.
UF_CURVE_section_radial_data_p_t radial_data Input(输入) Data provided by
the user describing
the radial planes.
tag_t * (tag_t型的指针) section_curves Output(输出) Feature tag, if general_data->associate is 1, or
Group tag of section curves if general_data->associate is 0
and general_data->grouping is 0, or
Group tag of groups of curves if general_data->associate is 0
and general_data->grouping is 1

 


 
UF_CURVE_set_analysis_display (查看源代码)
 
定义在: uf_curve.h
 
概述
Sets the values of the Curve Analysis Display Options of
a line, circle, conic or spline

环境
Internal and External

参见
UF_CURVE_set_spline_sap
UF_CURVE_ask_analysis_display

历史
Originally released in V16.0
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_set_analysis_display
(
tag_t curve_tag,
UF_CURVE_analysis_display_p_t analysis_display_options
)
tag_t (tag_t类型) curve_tag Input(输入) The tag of the curve. The curve may be of type
UF_line_type, UF_circle_type, UF_conic_type or
UF_spline_type.
UF_CURVE_analysis_display_p_t analysis_display_options Input(输入) The new options for
curve analysis
display

 


 
UF_CURVE_set_spline_sap (查看源代码)
 
定义在: uf_curve.h
 
概述
Sets the values of the Shape Analysis Parameters (SAP) of a B-curve
(Please refer to UF_CURVE_ask_spline_sap for explanation of Shape
Analysis Parameters).

Please use UF_CURVE_set_analysis_display instead of UF_CURVE_set_spline_sap,
as UF_CURVE_set_spline_sap will eventually become obsolete.

NOTE: This routine only sets B-curves SAP values. Users have to
call display routines afterwards to see the appearance change.

环境
内部和外部

参见
UF_CURVE_ask_spline_sap
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_set_spline_sap
(
tag_t curve_tag,
int display_flag [ 4 ] ,
double scale_factor
)
tag_t (tag_t类型) curve_tag Input(输入) B-curves tag
int (整数型) display_flag [ 4 ] Input(输入) B-curves SAP values
[0]= control polygon display flag
[1]= curvature comb display flag
[2]= inflection points display flag
[3]= peak points display flag
double (实数型) scale_factor Input(输入) B-curves SAP value

 


 
UF_CURVE_smooth_spline_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Makes a spline continuous to cont_order, if possible.

The order of continuity may be any positive integer up to
(but not including) the degree of the spline (the degree is order-1).

Specification of a given cont_order implies that all lower order
continuities are desired. The spline must be C0 before calling this
function, but it may have degeneracies. The order of continuity is the
highest order derivative that is required to exist at all points of the
spline. At any point in the spline, if cont_order cannot be achieved,
the highest continuity within tolerance is achieved. If C1 cannot be
achieved, G1 is achieved within tolerance and a state code is returned.
If G1 cannot be achieved a state code is returned. Whatever can be
smoothed within tolerance is returned even if the entire spline cannot
be done. States are returned for all conditions found in the spline.

Any knot that has a multiplicity high enough to make it possible for
the spline to be discontinuous to the given order at the corresponding
pole is checked. If the pole can be treated in such a way as to make it
continuous to the given order without changing the shape more than
toler, it is made so.

If the spline is closed the closure is also checked and smoothed if
within tolerance.

Continuity is achieved using a mathematical process called knot
removal. G1 is achieved by moving the poles.

Use this function conservatively. In particular, if simplification is to be
done when the geometry is attached or edited on a body topology, be
aware that smoothing may make the splines equivalent curve (such as
a circle) unrecognizable to the simplifier.

NOTE: Splines that have end knots with a multiplicity greater than the
order of the spline, or have interior knots greater than the degree of
the spline, are not continuous, that is, they have gaps. Such splines are
not of general utility in CAD/CAM work. The creation function
(UF_CURVE_create_spline) will not create them and this function
will not smooth them. They can be fixed using UF_CURVE_fix_spline_data,
and then smoothed if necessary.

Note: cont_order values greater than 1 are not currently supported, but may be
specified.

环境
内部和外部

参见
UF_BREP_attach_geometry
UF_CURVE_smooth_spline_data_st
UF_CURVE_fix_spline_data
UF_CURVE_create_spline

历史
This function was originally released in V15.0.
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_smooth_spline_data
(
UF_CURVE_spline_p_t spline_data,
int cont_order,
double distance_toler,
double angle_toler,
int * num_states,
UF_CURVE_state_p_t * states
)
UF_CURVE_spline_p_t spline_data Input / Output spline data to make continuous
int (整数型) cont_order Input(输入) order of continuity to achieve
double (实数型) distance_toler Input(输入) tolerance; smoothing is done if the deviation in
shape introduced is less than this amout. Zero
indicates use NX modelling resolution.
double (实数型) angle_toler Input(输入) tolerance; smoothing is done if the angle
between tangents at the joint is less than this
amount. Zero indicates use NX modelling resolution.
int * (整数型指针) num_states Output(输出) number of states in returned states array
UF_CURVE_state_p_t * states Output to be freed
输出并释放
Pointer to array pointer for joints where
continuity could not be achieved within
tolerance. This must be freed by calling UF_free.
May also contain knot fixup states.

 


 
UF_CURVE_smooth_spline_data_st (查看源代码)
 
定义在: uf_curve.h
 
概述
See the documentation for UF_CURVE_smooth_spline_data for a description of
smoothing. UF_CURVE_smooth_spline_data_st differs from it only in its
tolerance argument, dist_toler and in the interpretation of the continuity
state distance value.

3D curves are isotropic, that is, they occupy space with the same "density" in
all three directions. If the curves you are smoothing are always isotropic,
use UF_CURVE_smooth_spline_data.

UF_CURVE_smooth_spline_data_st smooths using a shear tolerance specification,
meaning that it may have different values for x, y, and z. Use it for
smoothing bcurves destined to become fin curves, which are used to trim
surfaces. (See UF_BREP).

Fin curves are defined in the surface parameter, or SP, space, of some surface
and thus are often called SP curves. Their existence in 3-space is a
composition of their two-dimensional definition and the 3-dimensional existence
of the surface. An SP curve defined on a surface has u,v coordinates, with
the third coordinate (normally z) being zero, instead of x, y, z coordinates.
In specifying the coordinates of the bcurves vertices, and the tolerances for
smoothing, the x coordinate is the u value and the y coordinate is the v value.

SP curves for trimming surfaces are anisotropic, that is, not isotropic. They
do not occupy space with the same "density" in both directions. Consider a
cylinder, which has a parameterization of part units (mm or in) in u (along
the axis) and angular units (radians) in v (around the axis). Thus u has the
same dimensions as 3-space, but v does not, indeed the v parameter being
angular causes a dependence on the radius for the correspondence between the v
tolerance in 3D and in parameter space.

Suppose we have a cylinder of radius 10mm, and we want changes from smoothing
restricted to .02mm. dist_toler[0] = .02 is the tolerance for u.
dist_toler[1] = .02/10 is the tolerance for v (it is not an approximation).
A curve along the surface in v is a circle, and so the distance along the curve
(the 3D tolerance) is equal to the radius times the angle (the v tolerance).
Working the algebra leads to the expression for dist_toler[1]. Similar
methods work for other analytic surface types. Generally a method that yields
a smaller rather than larger tolerance is preferable, like finding some
approximation to the largest radius of a surface of revolution, or the radius
of a cone at the larger part of where the face occupies the cone.

For a bsurface (which is anisotropic except in some very special cases), it
may be necessary to select a u,v pair, get a point, offset the u,v pair by a
small amount, get another point, and work the proportions to obtain the
u and v deltas that correspond to the desired 3D tolerance. Surfaces can vary
in their parameterization, and that affects the tolerances obtained. You have
to gain some knowledge about your surfaces; surfaces made by NX dont contain
variations in parameterization from one part of the surface to another, so
selecting 0.5, 0.5 as the evaluation point should be sufficient.

Note: cont_order values greater than 1 are not currently supported, but may be
specified.

环境
内部和外部

参见
UF_BREP_attach_geometry
UF_CURVE_smooth_spline_data
UF_CURVE_fix_spline_data
UF_CURVE_create_spline
 
需要许可证(S)
( solid_modeling  or  drafting )

 
int UF_CURVE_smooth_spline_data_st
(
UF_CURVE_spline_p_t spline_data,
int cont_order,
double dist_toler [ 3 ] ,
double ang_toler,
int * num_states,
UF_CURVE_state_p_t * states
)
UF_CURVE_spline_p_t spline_data Input / Output spline to smooth
int (整数型) cont_order Input(输入) order of continuity to get
double (实数型) dist_toler [ 3 ] Input(输入) dont exceed this, x, y, z
double (实数型) ang_toler Input(输入) dont exceed this
int * (整数型指针) num_states Output(输出) number of states in states array
UF_CURVE_state_p_t * states Output to be freed
输出并释放
states found during smoothing. The caller is
responsible for freeing this by calling UF_free.

 


 
UF_MODL_ask_curve_fit_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Ask curve fit data: curve fit method, maximum degree and
maximum number of segments from the modeling preferences

环境
Internal and External

参见
UF_MODL_set_curve_fit_data

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

 
int UF_MODL_ask_curve_fit_data
(
UF_MODL_curve_fit_data * curve_fit_data
)
UF_MODL_curve_fit_data * curve_fit_data Output(输出) curve fit method, maximum degree, and maximum segments

 


 
UF_MODL_set_curve_fit_data (查看源代码)
 
定义在: uf_curve.h
 
概述
Set curve fit data: curve fit method, maximum degree and
maximum number of segments to the modeling preferences

环境
Internal and External

参见
UF_MODL_ask_curve_fit_data

历史
This function is introduced in NX3.0.
 
需要许可证(S)
solid_modeling

 
int UF_MODL_set_curve_fit_data
(
UF_MODL_curve_fit_data curve_fit_data
)
UF_MODL_curve_fit_data curve_fit_data Input(输入) curve fit method, maximum degree, and maximum segments

 


 
UF_SF_CURVE_create_arc_3point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb arc through three points in fem/sim part.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_arc_3point
(
tag_t point1,
tag_t point2,
tag_t point3,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
tag_t (tag_t类型) point3 Input(输入) tag of middle point
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_id Output(输出) if is_asso == TRUE - smart arc
if is_asso == FALSE - dumb arc arc

 


 
UF_SF_CURVE_create_arc_center_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb arc of given radius and specific center in fem/sim part.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_arc_center_radius
(
tag_t center,
double radius,
tag_t help_point,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_id
)
tag_t (tag_t类型) center Input(输入) tag of center
double (实数型) radius Input(输入) value of radius
tag_t (tag_t类型) help_point Input(输入) point to define the start orientation
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_id Output(输出) if is_asso == TRUE - object identifier of new smart arc
if is_asso == FALSE - object identifier of new dumb arc

 


 
UF_SF_CURVE_create_arc_point_center (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb arc through a start point and specific center in fem/sim part.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_arc_point_center
(
tag_t point,
tag_t center,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_id
)
tag_t (tag_t类型) point Input(输入) tag of start point
tag_t (tag_t类型) center Input(输入) tag of center
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_id Output(输出) if is_asso == TRUE - object identifier of new smart arc
if is_asso == FALSE - object identifier of new dumb arc

 


 
UF_SF_CURVE_create_arc_point_point_radius (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb arc through two points and of specific radius in fem/sim part.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_arc_point_point_radius
(
tag_t point1,
tag_t point2,
double radius,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t arc_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
double (实数型) radius Input(输入) value of radius
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the arc
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t arc_feature_id Output(输出) if is_asso == TRUE - object identifier of new smart arc feature
if is_asso == FALSE - object identifier of new dumb arc

 


 
UF_SF_CURVE_create_line_arc (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb line/arc in fem/sim part. You input a UF_CURVE_line_arc_t data structure,
which specified the data needed for the line/arc to be created. Output is the
object identifier of the smart/dumb line/arc. An error is returned if
line/arc cannot be created with the specified data.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_line_arc
(
UF_CURVE_line_arc_t * line_arc_data,
tag_t * curve_id
)
UF_CURVE_line_arc_t * line_arc_data Input(输入) Pointer to line/arc data structure
tag_t * (tag_t型的指针) curve_id Output(输出) Object identifier of new associative line/arc in fem/sim.
if is_asso == TRUE - smart line/arc.
if is_asso == FALSE - dumb line/arc

 


 
UF_SF_CURVE_create_line_point_point (查看源代码)
 
定义在: uf_curve.h
 
概述
Create a smart/dumb line through two points in fem/sim part.

返回
error code

环境
内部和外部
 
需要许可证(S)
( nx_masterfem  or  nx_design_sim )

 
int UF_SF_CURVE_create_line_point_point
(
tag_t point1,
tag_t point2,
UF_CURVE_limit_p_t limit_p [ 2 ] ,
tag_t support_plane,
logical is_asso,
tag_p_t line_feature_id
)
tag_t (tag_t类型) point1 Input(输入) tag of start point
tag_t (tag_t类型) point2 Input(输入) tag of end point
UF_CURVE_limit_p_t limit_p [ 2 ] Input(输入) extension limits
tag_t (tag_t类型) support_plane Input(输入) tag of support plane of the line
logical is_asso Input(输入) true - if associative, false - if not associative
tag_p_t line_feature_id Output(输出) if is_asso == TRUE - object identifier of new smart line
if is_asso == FALSE - object identifier of new dumb line