|
本帖最后由 zhaoqiansun12 于 2012-3-21 20:23 编辑 8 g% k: z% y" | Y7 o( K- P
2 f# U/ {+ ? f: C. P
extern UFUNEXPORT int UF_CURVE_intersect
& Y$ m$ J1 g8 }(
- W7 L4 G5 \# A! S tag_t curve, /* <I> object id of the curve or edge */# p. X0 Z% w. S+ }" l% Z9 x# `
tag_t entity, /* <I> object id of the curve, edge, face,
' I/ M. M% ]. Q single face body, plane or datum plane */! B. I# S# v! d
double ref_point[3], /* <I> reference point to select from5 e6 O% `; i, f. @
multiple intersections, intersection closest% E- ?' `* ~' I9 Y3 o7 d# b, W5 K
to this point will be output */
0 A* E2 F7 U- v& s9 G" s8 k! M' z UF_CURVE_intersect_info_p_t out_info /* <O> - intersection information */
& E/ u" S7 d9 Q: X# g);0 q! k& l3 \7 [4 l
$ Q) p& i* |5 O8 f1 b
1 s) p! @! k9 z8 j0 ^请问这个求2曲线的交点的函数) T1 l& Y% @% k) q9 L( U( h ]& s" a
第三个输入参数是啥意思?
' K& g( P- {, O6 A真的看不懂,
4 [ r H' T! H. B% A7 j3 D* p帮我指导下吧+ g" R* d6 Q+ I! `! a8 T4 x# |' _ j
还有就是第四个是输出参数输出的是个结构体指针,那如果想求交点的坐标,用什么语句求交点的坐标? K/ R3 R" g" z
|
|