|
主要代码如下 请大家支持下
) {1 N3 I' K7 |$ l. D5 rUF_CURVE_create_arc(&arc_coords,&arc_id);5 Y3 R% V4 j! s; T+ y
6 R7 @" d* K) V
+ A) ]8 u7 x+ K / c0 l9 h3 M' g {
UF_CURVE_create_point (point_coords1,&point1);8 J9 x. |+ E4 F
- B2 n& L, a$ Z# N6 j1 O; m# V. iUF_CURVE_help_data_p_t help_data_p;
' }, Q/ a) U9 x9 b3 aUF_CURVE_limit_p_t limit_p[2];
0 e" n8 x" p% C+ suc1601("1",1);
; m8 n7 [1 O( t m. \, u0 zlimit_p[0].limit_type = UF_CURVE_limit_value;/* 到这就死了*// c( E3 V4 v+ I" P- j Z+ S
uc1601("2",1); , K' L V, A/ Q
limit_p[1].limit_type = UF_CURVE_limit_value;
( D: B' k5 S0 D$ qtag_t support_plane; / U" h$ b* Z+ p# ]) P% t+ g+ A
/ l! p2 |9 V8 F" d% ]( g
8 R8 {/ N- y. s1 Y! p2 k' R2 YUF_MODL_create_fixed_dplane(ctr_point, direction, &support_plane);
1 d0 x- u, j! Q; m! M" `; E% G9 T3 Q( k0 ~
logical is_asso=true;
3 F w0 x* o+ e& ~; |* Stag_p_t line_feature_id ;; h* l8 _* p5 h% e9 G
UF_CURVE_create_line_point_tangent (point1,arc_id,help_data_p,limit_p,support_plane,is_asso,line_feature_id); |
|