|
本帖最后由 zhaoqiansun12 于 2012-3-21 20:23 编辑 0 j8 Z6 I3 Y0 Z, X3 B% s
8 y! P3 P* K# O8 c' i1 H
extern UFUNEXPORT int UF_CURVE_intersect
2 ^3 p+ ?$ y* g( C(* k( O" w' W( U, W
tag_t curve, /* <I> object id of the curve or edge */
% S: R! x! B0 V2 z- e6 O* N0 G$ P tag_t entity, /* <I> object id of the curve, edge, face,
8 W8 r) h: ?$ Y5 S2 R3 Q single face body, plane or datum plane */. l0 d9 N5 I- _" Z$ q# h
double ref_point[3], /* <I> reference point to select from
4 c' B) ]9 |. \0 X1 c& } multiple intersections, intersection closest/ F2 J' o0 }+ i* B
to this point will be output */
8 h8 M+ I8 t! _" I UF_CURVE_intersect_info_p_t out_info /* <O> - intersection information */
5 @# A( W2 [+ r4 l: x% V1 Y);1 D( W' w8 n( i
' {9 U. \: R/ L9 g. t( l! s* s6 I! K- y; y
请问这个求2曲线的交点的函数
, X6 q6 j$ r% p2 n4 O第三个输入参数是啥意思?
8 G! i6 ]8 n" c" Y5 @真的看不懂,
9 M5 m2 r, w& W帮我指导下吧9 d- f" F5 X* m! K& }3 `- E3 |- v0 O
还有就是第四个是输出参数输出的是个结构体指针,那如果想求交点的坐标,用什么语句求交点的坐标?
2 V. X0 S0 D. E1 G1 {% r |
|