|
主要代码如下 请大家支持下/ k' j: d+ r" d( Q [ e! a3 ?
UF_CURVE_create_arc(&arc_coords,&arc_id);+ @0 P/ F) z1 ?4 Z7 u5 O
, p# H4 |- h0 O* G* U4 y2 }
% I* t E1 q, L7 q7 [( r% H
I. a$ g0 O8 U5 K7 ~% Z
UF_CURVE_create_point (point_coords1,&point1);7 C! s8 C" @& V9 `( ~# i; y
0 W1 L) v$ g' K$ e
UF_CURVE_help_data_p_t help_data_p;& ?2 v+ y Z7 ?" l* ?* \& `
UF_CURVE_limit_p_t limit_p[2]; 4 ~ }2 C' `1 y# h, C
uc1601("1",1);) ?/ I; ?0 i4 i7 K' G
limit_p[0].limit_type = UF_CURVE_limit_value;/* 到这就死了*/
5 }( W; q5 [" @+ _) Vuc1601("2",1);
' `2 h9 D* T$ e& Dlimit_p[1].limit_type = UF_CURVE_limit_value;, F# i: P* K8 G; D2 N1 ~4 m3 @% n
tag_t support_plane; 4 w2 S6 ?, t3 l2 Q
+ X. z6 ]' Y1 E2 }
' ?0 ]' d g. D, n* L$ ]UF_MODL_create_fixed_dplane(ctr_point, direction, &support_plane);3 i) B, m: g6 K* H
: N% H$ i3 w+ d& y+ N% w* h
logical is_asso=true;' L3 H+ G- ]% \5 {4 R3 G$ F
tag_p_t line_feature_id ;. i! d5 o. g" G" `* F$ G
UF_CURVE_create_line_point_tangent (point1,arc_id,help_data_p,limit_p,support_plane,is_asso,line_feature_id); |
|