|
本帖最后由 zhaoqiansun12 于 2012-3-21 20:23 编辑
8 _% a+ E4 h! p+ {) s( t0 N+ ?, U0 z& M
extern UFUNEXPORT int UF_CURVE_intersect3 [5 B2 q# L, o9 |' y
(
9 D9 Y( ?& S1 ^" V' q+ F# | tag_t curve, /* <I> object id of the curve or edge */
! ?- S! `7 u+ f5 g a' D tag_t entity, /* <I> object id of the curve, edge, face,- T' ?( n9 l8 F' D. l' [$ Q
single face body, plane or datum plane */
: J: N! O4 z: E. _9 } double ref_point[3], /* <I> reference point to select from. Y# E: c+ _6 Y% x8 y1 s" A
multiple intersections, intersection closest9 m4 R3 w1 ~' ~' C+ i0 n# }8 o- W
to this point will be output */
+ M2 U& _, O) r" Z' k7 W& e UF_CURVE_intersect_info_p_t out_info /* <O> - intersection information */( T$ X" y& A/ D
);
( @" s' N; r1 W' e0 m
6 f+ M! q1 a% s* p, m9 |* k0 `3 x. Y8 D4 z% o
请问这个求2曲线的交点的函数' H8 V) b& A, z% `3 {) t) t
第三个输入参数是啥意思?
0 _* X6 A, j0 X0 L0 I: d0 x) d5 \8 Y真的看不懂,/ L) I# `* f) E" ]: Y
帮我指导下吧
( k. w5 W# \" T4 ]6 _/ m还有就是第四个是输出参数输出的是个结构体指针,那如果想求交点的坐标,用什么语句求交点的坐标?
! l6 k& q2 c9 ^) w, I0 D |
|